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

Árni Geirsson arni at alta.is
Wed Jun 13 11:12:26 PDT 2018


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> 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> 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
>> 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
> 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/20180613/babbd08e/attachment.html>


More information about the Qgis-user mailing list