-
-
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
[ogr2ogr] Fix promote to multipart logic and add makevalid option #58440
Conversation
Maybe it could be better to inform the user or raise an exception about the fact that they has selected the two incompatible options GTYPE and PROMOTETOMULTI (also when the algorithm is called by a Python script or it is used in a module). |
Thanks! |
|
@rouault it looks like the |
-overwrite and -append have always been mutually exclusive. It is just that GDAL 3.9 starts making it an error. In previous versions, the last specified argument would win over the previously secified. It makes sense for QGIS to treat them as mutually exlusive for any GDAL version |
@agiudiceandrea, should we also handle the |
It look like they are not actually enforced as mutually exclusive in ogr2ogr, but probably they should be.
AFAIK there is no validation in other algorithms for the additional creation options, but I've not actually checked. Please have a look at the failing test. |
@NyakudyaA A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
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
|
Not stale |
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
|
Not stale |
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
|
Not stale |
@agiudiceandrea was there more here you wanted to see? |
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
Looks good to me. |
@NyakudyaA |
Fixes #58392