4 Shapefile traps solved by GeoPackage: (1) 5+ linked files → 1 SQLite container · (2) 10-character field truncation → full names · (3) 2 GB ceiling → multi-TB scale · (4) 1 vector layer → multiple layers, tables & styles.
Layers Inside survey.gpkg
| Layer | Contents & Key Column |
|---|---|
survey_counts | Raw observations per 250 m square (reports). |
hotspot_reference | Raw counts + analysis outputs (local_sum = 9-cell neighbourhood total). |
Route A · QGIS 4
- Unzip
AMDGS-GeoPackage-Starter.zip. Open a blank QGIS project and use the Browser panel to expandsurvey.gpkgand addsurvey_counts. - Zoom to Layer → Open Attribute Table → Select by Expression:
"cell_id" = 'I09'→ Show Selected Features → verifyreports = 18. - Load
hotspot_reference, select"cell_id" = 'D04', and comparereportsvslocal_sum.
Route B · ArcGIS Pro
- Close QGIS first to release SQLite file locks. In a blank ArcGIS Pro map choose Map → Add Data, browse inside
survey.gpkg, and add both feature classes. - Open
survey_countsAttribute Table → Select By Attributes (cell_id is equal to I09) → verifyreports = 18, then compareD04inhotspot_reference.
Self-Check Challenge
Load shapefile/survey.shp (keeping .shx, .dbf, .prj, and .cpg together) and check cell D04.
Reveal verified answer
D04 has 9 reports in the shapefile and in survey_counts.reports. Its neighbourhood total is 72 in hotspot_reference.local_sum.