Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[geom] dropping support for interface types #84

Open
ear7h opened this issue Oct 8, 2019 · 0 comments
Open

[geom] dropping support for interface types #84

ear7h opened this issue Oct 8, 2019 · 0 comments

Comments

@ear7h
Copy link
Contributor

ear7h commented Oct 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant