Feature request #10222
Geopackage support: add layer through Browser
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||18667|
With GDAL 1.11 we got gpkg support for free. However, layers can be added only through "Add vector" dialog.
Please add support in the Browser.
#1 Updated by Etienne Tourigny about 7 years ago
That isn't as simple as it seems, as there is no such functionality in the ogr provider.
Perhaps that and the spatialite layers should be handled in the same way via the ogr provider? There could be a new GDAL/OGR top menu item, perhaps with a submenu for each of gdal/ogr supported data source types that are not simple files (such as spatialite, geopackage, mysql, psql, etc.).
#3 Updated by Etienne Tourigny about 7 years ago
the spatialite data items use the spatialite provider (AFAIK) not the gdal provider. Wouldn't it be better to do something which could be generic and useful for other formats? Something like the add vector dialog, that has many database types. Something like a base class and several instances which open the specific settings dialog.
#5 Updated by Etienne Tourigny about 7 years ago
Oh I think I understand what you mean - you add support for geopackage files when browsing the directory tree right? I thought you meant to add them as permanent connections in the bottom of the browser, like spatialite and other Database connections.