Skip to content

Instantly share code, notes, and snippets.

@bohdanszymanik
Created June 5, 2025 23:44
Show Gist options
  • Save bohdanszymanik/c7b548ced3be7ad62d1f7b3c8c49c02d to your computer and use it in GitHub Desktop.
Save bohdanszymanik/c7b548ced3be7ad62d1f7b3c8c49c02d to your computer and use it in GitHub Desktop.
Choropleth map in ArcGIS Pro with range slider
Before I forget...
Starting with NZ Police Station boundaries - clipping to nz polygon coastline, and
using an extract from policedata.nz to get victimisation data.
Victimisation data is year, police station name, sumvictimisation.
To get the one to many join to work for some reason I had to copy the imported csv victimisation data over to the geodatabase and
in the docs it said I also needed to create a unique row id - so I did that first using monotonically_increasing_id() AS vid
Then create the join with one police station to many year/victimsations.
Create symbology for the victimisation field.
Then double click on the feature layer containing the one to many values ie one boundary id to many combos of
year/victimisations to bring up the range dialog:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment