Excited about actually working on databases? Well, let's start off with exploring how to work with a table.
There are chiefly two ways to create new tables within an existing GeoPackage in QGIS, that is via the Browser
panel and via the DBManager:
- In the
Browser
panel, find the GeoPackage that you want to create a new table/layer for - Right-click on it and then choose
Create a new table or layer
- Go through the process of giving your new table a table name, a geometry type, and fields
Note
When discussing databases, the term table is used to specify data that has geometry (point, lines, and polygons, for example) but also data that is simply a table without any geometry. Both GeoPackages and SpatiaLite contain both table types. You may have noticed that, when you create a new GeoPackage, you are asked about the type of table you are creating—No Geometry
, Point
, Line
, and so on.
You will note that you can't change the database...