]> git.openstreetmap.org Git - rails.git/commitdiff
Add international bike route map key for CyclOSM
authorAnton Khorev <tony29@yandex.ru>
Sat, 12 Apr 2025 15:41:59 +0000 (18:41 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 12 Apr 2025 17:16:11 +0000 (20:16 +0300)
config/key.yml
config/locales/en.yml

index f36f2946bf3c585d23af4163a14af40f8757d301..dc5403e508a1999c462beb4260769f8158cf7793 100644 (file)
@@ -104,6 +104,18 @@ mapnik:
   - { min_zoom: 15, name: private, image: private.png }
   - { min_zoom: 15, name: destination, image: destination.png }
   - { min_zoom: 12, name: construction, image: construction.png }
   - { min_zoom: 15, name: private, image: private.png }
   - { min_zoom: 15, name: destination, image: destination.png }
   - { min_zoom: 12, name: construction, image: construction.png }
+cyclosm:
+  # bicycle routes: roads.mss, road-colors.mss
+  - { min_zoom:  2, name: international_bike_route, width: 50, height:  1, fill: "#ff00ff", opacity: 0.75 }
+  - { min_zoom:  8, name: international_bike_route, width: 50, height:  1, fill: "#ff00ff", opacity: 0.6 }
+  - { min_zoom:  9, name: international_bike_route, width: 50, height:  2, fill: "#ff00ff", opacity: 0.6 }
+  - { min_zoom: 11, name: international_bike_route, width: 50, height:  3, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom: 12, name: international_bike_route, width: 50, height:  4, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom: 14, name: international_bike_route, width: 50, height:  5, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom: 15, name: international_bike_route, width: 50, height:  6, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom: 16, name: international_bike_route, width: 50, height:  7, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom: 17, name: international_bike_route, width: 50, height: 10, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom: 18, name: international_bike_route, width: 50, height: 14, fill: "#ff00ff", opacity: 0.25 }
 cyclemap:
   - { min_zoom:  5, name: motorway, width: 50, height: 2, fill: "#9a9ab1" }
   - { min_zoom:  9, name: motorway, width: 50, height: 3, fill: "#9a9ab1" }
 cyclemap:
   - { min_zoom:  5, name: motorway, width: 50, height: 2, fill: "#9a9ab1" }
   - { min_zoom:  9, name: motorway, width: 50, height: 3, fill: "#9a9ab1" }
index d99202b540fbad3163e396be32da502042629b9f..ddcc672cc17b26d84517d668418639f5ed19bc91 100644 (file)
@@ -2529,6 +2529,7 @@ en:
         track: "Track"
         bridleway: "Bridleway"
         cycleway: "Cycleway"
         track: "Track"
         bridleway: "Bridleway"
         cycleway: "Cycleway"
+        international_bike_route: "International bike route"
         national_bike_route: "National bike route"
         regional_bike_route: "Regional bike route"
         local_bike_route: "Local bike route"
         national_bike_route: "National bike route"
         regional_bike_route: "Regional bike route"
         local_bike_route: "Local bike route"