- Replace OSM Overpass transit data with the Rejseplanen GTFS feed (routes keyed by (agency, short name); styles from modes.yaml) - Draw one shape per (style, ref, direction), choosing the shape that serves the most in-area stops so lines pass the stops we show - Collapse stops by names (verified unambiguous); prune stops whose serving refs have no drawn line within 300 m - Patch Københavns Havn + Nordhavn into the area polygon so ferry routes and sub-harbour metro tunnels survive clipping; 100 m buffer closes relation boundary slivers - Drop OSM download pipeline; keep tiled basemap
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
# Mapping of map styles to GTFS agency / route_type filters.
|
|
#
|
|
# Used by prepare.py to classify GTFS routes (lines layer) and the routes
|
|
# serving each stop pole (stops/stations layers). Style keys are referenced
|
|
# by styling.yaml (palette, zorder, widths).
|
|
#
|
|
# `agencies` matches GTFS agency_name from agency.txt.
|
|
# `route_types` optionally restricts GTFS route_type values, including the
|
|
# extended codes used in this feed (109 = S-tog suburban rail, 700/715 =
|
|
# Movia bus service types). Without `route_types`, all of the agency's
|
|
# routes match (e.g. Movia including harbour ferries 991/992).
|
|
#
|
|
# ORDER MATTERS: the styles listed here are also the priority order when a
|
|
# pole is served by several modes (e.g. S-tog and regional trains share
|
|
# platforms at hub stations — the higher style wins).
|
|
modes:
|
|
metro:
|
|
agencies: [Metroselskabet]
|
|
s_tog:
|
|
agencies: [DSB S-tog]
|
|
route_types: [109, 2]
|
|
light_rail:
|
|
agencies: [Hovedstadens Letbane]
|
|
regional:
|
|
agencies: [DSB, Lokaltog A/S, Skånetrafiken, Snälltåget AB, DSB Vores Tog]
|
|
route_types: [2]
|
|
ferry:
|
|
# harbour buses 991/992 (route_type 4); their shapes cross the harbour
|
|
# water and are intentionally NOT clipped to the land area polygon
|
|
agencies: [Movia]
|
|
route_types: [4]
|
|
bus:
|
|
agencies: [Movia]
|
|
route_types: [3, 700, 715]
|