Let's see how we can import data into a GeoPackage. We will see how we can import a vector file and layers from the map canvas in this section.
Importing data into a GeoPackage
Importing a vector file
Make sure that you've made a connection to the GeoPackage that you want to load data into (see the Connecting to a GeoPackage section).
QGIS can consume a lot of file types in a GeoPackage, beyond those of just SHP, TAB, or KML. Irrespective of the supported file type that you want to import, the process is the same:
- Click on Database | DBManager and expand the GeoPackage section so that you can see the new_sites GeoPackage.
- Click on the GeoPackage so that it is highlighted (in blue).
- Click on the Import Layer...