Skip to content
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

Better support for multilayers gpkg data sources in Processing #43701

Closed
geoxluca opened this issue Jun 11, 2021 · 4 comments
Closed

Better support for multilayers gpkg data sources in Processing #43701

geoxluca opened this issue Jun 11, 2021 · 4 comments
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@geoxluca
Copy link

geoxluca commented Jun 11, 2021

new description

In Processing (i.e. GDAL "convert format") if the users chooses the "select file..." option for the input, and this is a multi layer datasource (for example a GPKG), then the tool works but only for one layer (probably the first found in the GPKG).

It would be good if for this specific case all the layers in the datasource could be processed, outputting to a user selected folder maybe.

old description

when I try to reprojct a multy layer .gpck file with the GDAL>Convert format, the process automaticly add the name of the first layer into gpkg to the origin path of the file.
The result is that will be export only the first layer of the layers collection into the geopackage

@gioman
Copy link
Contributor

gioman commented Jun 11, 2021

@geoxluca Hi, would you mind add all the infos requested by the new issue template? thanks!

https://github.com/qgis/QGIS/issues/new?assignees=&labels=Bug&template=10_bug_report.md&title=

Describe the bug

How to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error -->

QGIS and OS versions

Additional context

@gioman gioman added Feedback Waiting on the submitter for answers Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels Jun 11, 2021
@geoxluca
Copy link
Author

geoxluca commented Jun 11, 2021

yes sorry

  1. Go to GDAL "Convert format"
  2. Open a multi layers gpkg file in INPUT vector file
  3. you can already see in the console GDAL/OGR in the command windows that compare in the end the name of the first layer into the gpkg file
  4. set the new CRS with -t_srs EPSG:32633
  5. set the name of the OTPUT new geopakage file file
  6. RUN and you can see that only the first layer (point 3 above) will be created with the new Reference System

WINDOWS 10
QGIS 3.16.7

@gioman gioman added Feature Request and removed Feedback Waiting on the submitter for answers Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Jun 12, 2021
@gioman gioman changed the title GDAL convert multilayers gpkg file Better support for multilayers gpkg data sources in Processing Jun 12, 2021
@agiudiceandrea
Copy link
Member

@gioman @geoxluca it seems to me this Feature Request would be fixed by #45955.

@gioman
Copy link
Contributor

gioman commented Feb 12, 2022

@gioman @geoxluca it seems to me this Feature Request would be fixed by #45955.

@agiudiceandrea thanks for the heads up!

@gioman gioman closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

3 participants