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

Import Data into Geopackage using DBManager #23025

Closed
qgib opened this issue Jun 19, 2016 · 3 comments
Closed

Import Data into Geopackage using DBManager #23025

qgib opened this issue Jun 19, 2016 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Jun 19, 2016

Author Name: Randal Hale (@rjhale1971)
Original Redmine Issue: 15083
Affected QGIS version: master
Redmine category:data_provider


Data Location: https://www.dropbox.com/sh/n93hx8w7g6z6rv7/AAB2zj75D4oNJCZjDUPiy7Rva?dl=0

QGIS Master: eee599e
gdal: 1.11.3

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.

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2016

Author Name: Even Rouault (@rouault)


Note: the provided link is a File Geodatabase and not the mentionned shapefiles.

Isn't it a duplicate of #22930 ?

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2016

Author Name: Randal Hale (@rjhale1971)


Sorry about that: https://www.dropbox.com/sh/h0hck6ngmesbymv/AABaIB1Xw7SS4ZD2gdqdNQhra?dl=0

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.

@qgib
Copy link
Contributor Author

qgib commented Feb 26, 2017

Author Name: Randal Hale (@rjhale1971)


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant