Core Rule: A .qgz holds styling, layouts, and pointers—not your data. Always test the zipped handover in a brand-new folder and confirm Layer Properties → Information → Path resolves inside the new copy.
Part 1 · Break It On Purpose
- Create two empty folders:
SenderandRecipient. - Copy only
AMDGS-grid.qgzintoRecipientand open it in a fresh QGIS session to inspect the unavailable-layers warning. Close without saving.
Part 2 · Method A (Portable Folder for Vectors + Rasters)
- In Processing Toolbox run Package layers, select both polygon layers, tick Save layer styles into GeoPackage, and export to
Sender/survey.gpkg. - Start a fresh blank project, load both layers from
Sender/survey.gpkg, confirm Project → Properties → General → Save paths = Relative, save asSender/AMDGS-grid.qgz, and close QGIS completely before zipping.
Part 3 · Method B (Single-File Vector Pro Tip)
For purely vector maps, choose Project → Save To → GeoPackage… and save directly inside Sender/survey.gpkg. Your data, styles, and project travel inside one single file. (Keep external rasters and custom SVGs alongside a relative-path .qgz using Method A.)
Part 4 · 30-Second Stranger Test
Verify all 4 pass criteria after unzipping to a fresh folder
- Resolved path: Layer Properties → Path points inside the new test folder (not
Sender). - Feature count:
Survey counts= 144 polygons. - Attribute check: Cell
I09= 18 reports. - Cluster check:
"is_hot" = 1returns 5 flagged cells.