Skip to content

[geom] dropping support for interface types #84

Open
@ear7h

Description

@ear7h

Support for things like Pointer, LineStringer, etc. Should be dropped from the general code base. They were added for interoperability, but support has been sparse and adds an extra cognitive load in switch x.(type) using code.

For interoperability, I propose a convert or interop package with contains the interfaces and and has a ToGeom function. A readme would also have an example on how to write a FromGeom function, and perhaps a FromGeomer interface which contains the necessary functions to convert from the geom types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions