-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
QgsVectorFileWriter map NaN to -DBL_MAX exporting to Shape #50507
Conversation
The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check
|
@rouault I addressed the open points, could you redo a review please? |
I've approved the changes |
@rouault thank you! |
Shape format does not support NaN for Z or M. This pr want to map NaN to -DBL_MAX when creating the WKB to pass to OGR.
A new
WkbFlag
valueFlagExportNanAsDoubleMin
was introduced to control that behaviour on WKB conversion.This aims to fix only the "Save layer as" function. The provider was not touched.
See also discussion on #47034