-
Notifications
You must be signed in to change notification settings - Fork 824
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
Valid geojson geometry fails to parse #2319
Comments
@springmeyer - yes, our geojson parser expects "type" before "coordinates" as it's greedy parser. |
I'm late to the party here, but it's possible that my recent commit mapbox/mapnik-omnivore#17 might introduce Mapnik to more key-sorted GeoJSON (coordinates/geometry/features before type). |
Thanks for the heads up @sgillies - for now we should be safe because mapnik-omnivore currently uses OGR still to read GeoJSON files. Once this is fixed in Mapnik however we'll be safe to switch to this native approach (the goal being faster i/o than through OGR). |
fixed in 3c99514 |
re-opening since this needs backported to 2.3.x. |
Assigning to 3.x until we determine its worth backporting. |
closing, we now have tests in master, let's just run this out in 3.x for now. |
Conflicts: plugins/input/geojson/geojson_datasource.cpp
This parses (as it should):
But this does not:
The text was updated successfully, but these errors were encountered: