Closed maximerischard closed 7 years ago
Yeah, you're right (:
I have a local branch that introduces GeoInterface
as a dependency for this package, but had been holding off on it because I was worried users might prefer this package to be "standalone".
Having an issue like this is a good signal (to me) that it might not be a bad way to proceed, so thanks!
Thanks for the quick response, and for taking the suggestion on board.
See #16.
If I have, say, a GeoJSON.LineString
and would like to convert it to a LibGEOS.LineString
I get a MethodError
LibGEOS does have a method for converting any GeoInterface.AbstractLineString to a LibGEOS.LineString:
but
GeoJSON.LineString
is not aGeoInterface.AbstractLineString
and so I end up having to do the conversion myself
which admittedly isn't the end of the world, but it would be convenient and elegant if
GeoJSON.LineString
were a subtype ofGeoInterface.AbstractLineString
.