You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Point of clarification: "Geometry" is an abstract class and an abstract concept in the GeoJson spec. It is not an actual Type itself. So, is what we are saying here that whatever Type of object gets mapped, that same Type of object should be returned?
We just did that for the Feature Type (to address #110) so it should be straightforward to extend it to the other Types.
I think the suggestion is to return one of the classes Point, LineString, ... so concrete classes. The return type of the function should be Geometry, if I'm not mistaken. Maybe we should have a separate new function, to_geometry.
Related to this request, it would be nice to have a standalone function to check if a Mapping containing type and coordinates is indeed a valid GeoJSON. For this I think I'll open a new issue.
No description provided.
The text was updated successfully, but these errors were encountered: