-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Exporting features with curve geometries to GeoJSON silently drops them #4004
Comments
I don't confirm this. ogr2ogr / OGR core will linearize curve geometry. See:
|
Yes indeed, I confirm that behavior seems to be correct |
Was fixed per #4006 |
Current behavior
Exporting a feature to GeoJSON currently produces a debug message and silently sets the geometry to
NULL
without setting last error, ie this is not considered an event worth mentioning to the end usertext
will beNULL
andCPLGetLastErrorMsg
will still return the previous error message encounteredSuggested new behavior
The return value stays
NULL
but aCPLError
is reportedImplications
Currentlyogr2ogr
silently drops curve geometries when producing GeoJSON output.ogr2ogr
doesn't use exportToJsonThe text was updated successfully, but these errors were encountered: