marvin
|
8e32ca2b1c
|
Copenhagen Phase 2: prepare.py merges + clips + colours -> master.gpkg
- prepare.py: merge per-mode OSM lines, resolve colours
(GTFS route_color -> OSM colour tag -> keyed palette, robust to pd.NA),
categorise buses (A/C/S/regular via regex), clip lines+stops to area,
write master.gpkg layers (lines/stops/stations)
- download_osm.py: add stations query (public_transport=station /
railway=station nodes+areas, out center) -> stations.gpkg with proper
human-readable names + subway/light_rail mode tags for labelling
- verified: 135 lines (8 metro/16 s-tog/28 regional/83 bus), 90 named
stations, zero NaN colours
|
2026-09-13 01:19:34 +02:00 |
|