Bug report #15083
Import Data into Geopackage using DBManager
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23025|
QGIS Master: eee599e
I think this isn't working right. I think.
So I create a geopackage (test1.gpkg) using the data coast_n83.shp through the "Save As..." Dialogue in QGIS. I then try to import Assisted_Living.shp into the geopackage (using dbmanager) and receive an error: Error 11 Connection to database failed
I also tried several things like dragging and dropping and changing the name etc - can't add data. I converted the Assisted_Living.shp to a geopackage and couldn't get it to copy a table from one geopackage to another - in other words I can't create a geopackage with more than one layer in QGIS.
I can add data using ogr: ogr2ogr -append test1.gpkg Assisted_Living.shp -nln assisted_living
Now that I type all of this - I'm wondering if you can add data or if that's the way it is.
#2 Updated by Randal Hale over 6 years ago
And it appears this might be a duplicate of 14981 - It appears they are trying to do the same thing I am which is import a shapefile into an existing geopackage.