Starter Kit: GIS Spatial Comparison
Launch status: runnable HKU micro-walkability GeoJSON demo and hosted preview added.
Purpose
Support site, access, zoning, exposure, and context decisions.
Minimum Demo Loop
- candidate sites or design zones
- spatial layer
- buffer, overlay, join, or clip
- map or summary table
- decision comparison
Files
data/candidate_sites.geojsondata/transit_stops.geojsondata/grocery_points.geojson— synthetic grocery/convenience points for proximity testingdata/noise_corridors.geojsondata/green_spaces.geojsongis_spatial_comparison_demo.pyoutputs/gis_spatial_comparison_preview.htmloutputs/gis_site_comparison_map.pngoutputs/scored_sites.csvoutputs/selected_site.geojson
Demo Run
From this folder:
python3 gis_spatial_comparison_demo.pyUse a Colab or conda environment with geopandas installed. The script also has a shapely fallback for the packaged data, but a bare system Python will usually be too thin for this route.
The script exports:
outputs/scored_sites.csvoutputs/gis_site_comparison_map.pngoutputs/gis_spatial_comparison_preview.htmloutputs/selected_site.geojson
Hosted Preview
Open outputs/gis_spatial_comparison_preview.html to inspect the worked example in a browser. The preview is generated from the same script as the scored table and map, so it should be treated as a display surface, not a separate hand-made artifact.
The current worked example is a teaching sample near HKU. It uses real-ish WGS84 coordinates and synthetic grocery/convenience points. The 300m catchments are straight-line buffers, not verified walking-network access.
Student Adaptation Task
Students identify the spatial layer or proximity rule that affects their studio decision.
Grasshopper Bridge
Use the scored CSV as a simple site-selection input in GH. If students are working with actual Rhino parcels, they can match by site_id and use the score to color, filter, or annotate candidate sites. outputs/selected_site.geojson is the highest-scoring polygon exported as a minimal geometry handoff.
Verification Checks
- CRS is stated
- layer source is cited
- map legend is meaningful
- operation sequence is documented
- output supports a design decision