Improve handling of import options in Export to PostgreSQL ogr2ogr #58392
Labels
Feature Request
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Feature description
Currently when importing a dataset into PostgreSQL using the ogr2ogr algorithm, if you set the following:
By default, the other option for converting to multi is also set i.e
This will lead to a command line being generated like
This leads to having
Additional context
You can always untick the
Promote to MultiPart
so your algorithm works properly. I think it would make sense to implement the following logicSolution A
Solution B
Promote to Multipart
Solution C
Promote to Multipart
deactivatedNote There are other options like overwriting the existing table and appending to an existing table that should be mutually exclusive
The text was updated successfully, but these errors were encountered: