-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
map_coords() should work recursively on Feature and FeatureCollection #110
Comments
What should be done for this issue? |
I just checked the current state of the code, and I think Note: these docs don't reference |
We are making some improvements around the |
I regularly use projected coordinate systems for calculations (using pyproj4, for example). I recommend that python-geojson should support this workflow: Given:
Process:
Output:
That, IMO, is a great use case for map_geometries() or map_tuples(). |
Hi @dharasty, while the 2008 version of the GeoJSON spec supported multiple Coordinate Reference Systems, the officially adopted RFC standard removed that support and fixes the CRS to WGS84 for all GeoJSON objects. Section 4 of RFC 7946 states:
So I don't think we should support handling data in other CRS formats directly in this package. However, your original request, support for Feature and FeatureCollection objects in |
This issue does not appear to be fixed in v2.5.0. If I understand correctly, running Perhaps this fix needs revisiting?
EDIT: it is worth noting that |
map_coords()
has an obvious use case in transforming the geometry of features.It should operate on Features and FeatureCollections, as well.
The text was updated successfully, but these errors were encountered: