[Qgis-user] Add new layer to existing GeoPackage file

Lene Fischer lfi at ign.ku.dk
Tue Sep 4 13:06:27 PDT 2018


I have the same issue in QGIS 3.2.2– I can´t Export an open geopackage layer the same Geopackage database… And secondly I can´t select any features in the map view. Program says ‘No active vector layer I have no problem in selecting in the attribute table.
Can someone confirm this – then I´ll file a ticket.
Regards




Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
lfi at ign.ku.dk<mailto:lfi at ign.ku.dk>


[cid:image001.gif at 01D4449B.85B5C990]

[cid:image002.png at 01D4449B.85B5C990]<@Lene_Fischer>



Fra: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] På vegne af Árni Geirsson
Sendt: 13. juni 2018 20:12
Til: mtreglia at gmail.com
Cc: palousegeo at outlook.com; qgis-user at lists.osgeo.org
Emne: Re: [Qgis-user] Add new layer to existing GeoPackage file

I did not know that it was possible to drag the layer into the browser - that's very handy. But another way is to connect to the geopackage using DB Manager and then upload any additional layers.

Arni

Árni Geirsson
Alta ehf // +354 582 5000 // +354 897 9549


On Wed, 13 Jun 2018 at 17:37, Michael Treglia <mtreglia at gmail.com<mailto:mtreglia at gmail.com>> wrote:
Hi Rick,

Here's what I've done albeit this isn't as smooth as directly doing "save as" to the gpkg file...:
Save the file as another file type (or another gpkg file);
You can then drag layers from the Layers panel to the .gpkg file in the Browser panel.

I hope that helps!
Mike

On Wed, Jun 13, 2018 at 1:25 PM, Rick Rupp <palousegeo at outlook.com<mailto:palousegeo at outlook.com>> wrote:

Hi,

I want to use the “Save as” function on a GeoPackage layer to save a reprojected copy to a new layer in the same GeoPackage file. The function fails with an “Error: Cannot overwrite an OGR layer in place” message. The same thing happens if I try to save a subset of selected features from a layer to the same GeoPackage file. However, if I use the ogr2ogr function it works nicely. Is this the expected behavior? I am updating lab exercises for students in my beginning GIS class, and trying to switch from shapefiles to GeoPackage, so I am reluctant to send students to the command line early in their GIS training. I am working with QGIS 3.0.3 on Windows 10.
Regards, Richard

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180904/8eb1c305/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4971 bytes
Desc: image001.gif
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180904/8eb1c305/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1280 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180904/8eb1c305/attachment.png>


More information about the Qgis-user mailing list