-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Let gdal:convertformat convert all layers at once #39580
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works as expected
Manually marking as stale because stalebot has left for christmas break |
While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist. |
Problem
The gdal:convertformat(aka ogr2ogr.py) wrapper around ogr2ogr is only converting one layer of a source file at the moment.
e.g.
When setting the following options:
they are translated to the following console command
ogr2ogr -f "SQLite" OUTPUT INPUT points
where points is describing the layer to convert, and the user isnt able to change that.
Changes
I added a Boolean Parameter to the Plugin that lets you convert all layers of a source file.
When active it eliminates the layerName being added at the end of the console command.
The default behavior to import only 1 automatically chosen layer has been kept.
Added also the Translation for the languages i speak.