This commit is contained in:
Andras Schmelczer 2026-07-03 18:28:56 +01:00
parent 909e241907
commit 1ee796b282
29 changed files with 250 additions and 126 deletions

View file

@ -7,7 +7,7 @@ site id and the site's polygon centroid. Sites without access points fall
back to polygon centroids.
Using access points rather than polygon centroids gives much more accurate
distance calculations a property next to Hyde Park won't show 400m just
distance calculations: a property next to Hyde Park won't show 400m just
because the centroid is in the middle of the park. The site id / centroid
columns let downstream consumers (poi_proximity) collapse the frame back to
one row per SITE for counting, so a park with 30 gates counts as one park.
@ -190,7 +190,7 @@ def download_greenspace(output: Path) -> None:
print(f"Reading {site_shps[0].name} for function types...")
site_funcs = _read_site_functions(site_shps[0])
# Step 2: Read access points (primary park entrances)
# Step 2: Read access points (primary: park entrances)
print(f"Reading {access_shps[0].name}...")
ap_lats, ap_lngs, ap_cats, ap_site_ids = _read_access_points(
access_shps[0], site_funcs