Add bus whitelist, route exclusions, crow-fly shape filter, and KML export

- modes.yaml: bus_whitelist (A-buses + selected refs) and exclude list
  (Snälltåget 083 night train — sparse crow-fly stubs)
- prepare.py: drop degenerate crow-fly shapes below 0.05 pts/km; apply
  bus whitelist and route exclusions from modes.yaml
- export_google_mymaps.py: new script — master.gpkg -> KML for Google
  My Maps import (stops, routes, boundary, coastline layers)
- coastline.kml: reference coastline layer for the KML export
- .gitignore: also ignore generated output/*.kml
This commit is contained in:
2026-09-18 00:24:37 +02:00
parent b7d51ca29f
commit b27421aaa1
5 changed files with 611 additions and 4 deletions
+2 -1
View File
@@ -4,10 +4,11 @@ copenhagen/data/processed/**
!copenhagen/data/raw/.gitkeep
!copenhagen/data/processed/.gitkeep
# Generated map outputs (regenerable via render.py)
# Generated map outputs (regenerable via render.py / export_google_mymaps.py)
copenhagen/output/*.png
copenhagen/output/*.svg
copenhagen/output/*.pdf
copenhagen/output/*.kml
# Python
.venv/