]> git.openstreetmap.org Git - rails.git/commitdiff
Update tunnel and bridge mapnik map key
authorAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 09:36:58 +0000 (12:36 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 09:36:58 +0000 (12:36 +0300)
app/assets/images/key/mapnik/bridge.png [deleted file]
app/assets/images/key/mapnik/bridge.svg [new file with mode: 0644]
app/assets/images/key/mapnik/tunnel.png [deleted file]
app/assets/images/key/mapnik/tunnel.svg [new file with mode: 0644]
config/key.yml

diff --git a/app/assets/images/key/mapnik/bridge.png b/app/assets/images/key/mapnik/bridge.png
deleted file mode 100644 (file)
index d388d7b..0000000
Binary files a/app/assets/images/key/mapnik/bridge.png and /dev/null differ
diff --git a/app/assets/images/key/mapnik/bridge.svg b/app/assets/images/key/mapnik/bridge.svg
new file mode 100644 (file)
index 0000000..4096e81
--- /dev/null
@@ -0,0 +1,4 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='30' height='5' stroke='black'>
+<line y1='0.5' y2='0.5' x2='30' />
+<line y1='4.5' y2='4.5' x2='30' />
+</svg>
diff --git a/app/assets/images/key/mapnik/tunnel.png b/app/assets/images/key/mapnik/tunnel.png
deleted file mode 100644 (file)
index 4c52ff4..0000000
Binary files a/app/assets/images/key/mapnik/tunnel.png and /dev/null differ
diff --git a/app/assets/images/key/mapnik/tunnel.svg b/app/assets/images/key/mapnik/tunnel.svg
new file mode 100644 (file)
index 0000000..05cd7e7
--- /dev/null
@@ -0,0 +1,4 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='30' height='5' stroke='grey' stroke-dasharray='4 2' stroke-dashoffset='-1'>
+<line y1='0.5' y2='0.5' x2='30' />
+<line y1='4.5' y2='4.5' x2='30' />
+</svg>
index 968fa7f768e7b7bcac74bf956707d84815b905ad..cdd070131e5073702be80ea3a2063d7da2af7a45 100644 (file)
@@ -69,8 +69,8 @@ mapnik:
   - { min_zoom: 15, name: station, width: 9, height: 9, fill: "#7981b0" }
   # other
   - { min_zoom: 11, name: summit, image: summit.svg } # amenity-points.mss
   - { min_zoom: 15, name: station, width: 9, height: 9, fill: "#7981b0" }
   # other
   - { min_zoom: 11, name: summit, image: summit.svg } # amenity-points.mss
-  - { min_zoom: 12, max_zoom: 19, name: tunnel, image: tunnel.png }
-  - { min_zoom: 13, max_zoom: 19, name: bridge, image: bridge.png }
+  - { min_zoom: 13, name: tunnel, image: tunnel.svg } # roads.mss
+  - { min_zoom: 13, name: bridge, image: bridge.svg } # roads.mss
   - { min_zoom: 15, max_zoom: 19, name: private, image: private.png }
   - { min_zoom: 15, max_zoom: 19, name: destination, image: destination.png }
   - { min_zoom: 12, max_zoom: 19, name: construction, image: construction.png }
   - { min_zoom: 15, max_zoom: 19, name: private, image: private.png }
   - { min_zoom: 15, max_zoom: 19, name: destination, image: destination.png }
   - { min_zoom: 12, max_zoom: 19, name: construction, image: construction.png }