AMDGS

Open a GeoPackage

Someone has sent you a survey with two layers. Open it in QGIS or ArcGIS Pro, find the raw observations and check the count for one square. You can complete the exercise in either application.

Start with the extracted folder

Unzip AMDGS-GeoPackage-Starter.zip to a folder you can find again. It contains survey.gpkg, a shapefile folder and this guide. The survey is fictional. The 144 squares are 250 m across and use British National Grid (EPSG:27700). Each layer covers the same grid.

Layer inside survey.gpkgWhat to look for
survey_countsObservations by square. reports gives the count in that square.
hotspot_referenceCounts plus analysis fields. local_sum gives the count in a square and its immediate neighbours.

In QGIS

  1. Start a new project. If the Browser panel is hidden, enable it under View → Panels. In Browser, find your extracted folder, expand survey.gpkg and double-click survey_counts.
  2. Right-click the new layer and choose Zoom to Layer, then Open Attribute Table. Choose Select by Expression and enter "cell_id" = 'I09'. Run the selection and use Show Selected Features in the table. The single row should have 18 in reports. I09 begins with a capital letter I.
  3. Return to Browser and load hotspot_reference. Open its table. Repeat the selection with "cell_id" = 'D04'. Compare reports and local_sum. Both layers should show 144 features when all records are visible.

In ArcGIS Pro

  1. Open a project with a map. On the Map tab choose Add Data. Browse into the extracted survey.gpkg. Select the survey_counts feature class and add it to the map. Repeat for hotspot_reference. You can also drag individual feature classes from the Catalog pane.
  2. In Contents, right-click survey_counts and choose Zoom To Layer. Open its Attribute Table. In Select By Attributes, choose that layer, use a new selection and build the clause cell_id is equal to I09. Apply it, then switch the table to selected records. Read 18 in reports.
  3. Open the table for hotspot_reference, repeat for D04 and compare reports with local_sum. If you use both applications, close the file in the first one before opening it in the second.

Try the shapefile comparison

Add shapefile/survey.shp in your chosen GIS. Keep the companion .shx, .dbf, .prj and .cpg files together. Find D04. Which value can you recover from the shapefile alone? If a colleague needs the neighbourhood total as well, which layer and field would you point them to?

Check your answer

D04 has 9 reports in the shapefile and in survey_counts.reports. The neighbourhood total is 72 in hotspot_reference.local_sum. The shapefile in this download contains just the raw count layer.

If your results look different