TransWikia.com

Importing vector files regardless of having point, line and polygon information using a geopackage in QGIS

Geographic Information Systems Asked by kimyamai on February 16, 2021

How do I import vector files regardless of having point, line and polygon information using a geopackage in QGIS?

I am used to using a geodatabase in ESRI’s ArcGIS, but since my mac is not compatible I am using the alternative QGIS and their "geopackage" option. Unfortunately, I see that I have to specify one type of geometry for the whole package, even though the package consists of points, lines and polygons. Is there a way to create a geopackage and simply choose a vector-based option? I don’t see that kind of option anywhere

One Answer

Drag and drop your geopackage file to the QGIS window and a dialog will allow you the select what kind of data you want to load as layer. As an option, you could just select everything.

enter image description here

Option 2: Open data source manager, select the geopackage file and again select which layers to load:

enter image description here

When you create a new layer you want to save to an existing Geopackage, right click the layer / export / Save features as... In the opening dialog window, select the existing Geopackage file, define a new layer name and click OK.

enter image description here

You can have all kind of geometries (point, line, polygon) as well as raster data and even styles and QGIS projects files in one Geopackage.

Answered by Babel on February 16, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP