From fa09a62d393ed10f314b64f25bd43a29db03d2a8 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 12 Sep 2024 14:03:31 +0300 Subject: [PATCH] Add subway, tram, bus stops to mapnik map key --- config/key.yml | 11 ++++++++--- config/locales/en.yml | 3 +++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/config/key.yml b/config/key.yml index a78dbb282..032a24704 100644 --- a/config/key.yml +++ b/config/key.yml @@ -88,10 +88,15 @@ mapnik: - { min_zoom: 14, name: building, width: 10, height: 10, fill: "#ab9793" } - { min_zoom: 15, name: building, width: 10, height: 10, fill: "#b9a99c", border: "#a99a8d" } - { min_zoom: 16, name: building, width: 10, height: 10, fill: "#c4b6ab", border: "#a99a8d" } - # stations: stations.mss - - { min_zoom: 12, name: station, width: 4, height: 4, fill: "#7981b0" } - - { min_zoom: 13, name: station, width: 6, height: 6, fill: "#7981b0" } + # stations: stations.mss, amenity-points.mss + - { min_zoom: 12, max_zoom: 12, name: station, width: 4, height: 4, fill: "#7981b0" } + - { min_zoom: 13, max_zoom: 13, name: station, width: 6, height: 6, fill: "#7981b0" } + - { min_zoom: 13, max_zoom: 13, name: railway_halt, width: 4, height: 4, fill: "#7981b0" } + - { min_zoom: 14, max_zoom: 14, name: [station, subway_station], width: 6, height: 6, fill: "#7981b0" } + - { min_zoom: 14, max_zoom: 14, name: [railway_halt, tram_stop], width: 4, height: 4, fill: "#7981b0" } - { min_zoom: 15, name: station, width: 9, height: 9, fill: "#7981b0" } + - { min_zoom: 15, name: [railway_halt, subway_station, tram_stop], width: 6, height: 6, fill: "#7981b0" } + - { min_zoom: 16, name: bus_stop, width: 6, height: 6, fill: "#0092da" } # other - { min_zoom: 11, name: [summit, peak], image: summit.svg } # amenity-points.mss - { min_zoom: 13, name: tunnel, width: 50, height: 5, casing: grey, casing-dasharray: "4 2", casing-dashoffset: 1 } # roads.mss diff --git a/config/locales/en.yml b/config/locales/en.yml index 16015d92c..e784df5dd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2375,6 +2375,9 @@ en: hospital: "Hospital" building: "Significant building" station: "Railway station" + railway_halt: "Railway halt" + subway_station: "Subway station" + tram_stop: "Tram stop" summit: "Summit" peak: "Peak" tunnel: "Dashed casing = tunnel" -- 2.39.5