]> git.openstreetmap.org Git - rails.git/commitdiff
Update societal amenities mapnik map key
authorAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 08:32:02 +0000 (11:32 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 08:33:43 +0000 (11:33 +0300)
https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/landcover.mss#L596

app/assets/images/key/mapnik/school.png [deleted file]
app/assets/images/key/mapnik/school.svg [new file with mode: 0644]
config/key.yml
config/locales/en.yml

diff --git a/app/assets/images/key/mapnik/school.png b/app/assets/images/key/mapnik/school.png
deleted file mode 100644 (file)
index 50f30a2..0000000
Binary files a/app/assets/images/key/mapnik/school.png and /dev/null differ
diff --git a/app/assets/images/key/mapnik/school.svg b/app/assets/images/key/mapnik/school.svg
new file mode 100644 (file)
index 0000000..b7600bf
--- /dev/null
@@ -0,0 +1,3 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='26' height='10'>
+<rect x='.5' y='.5' width='25' height='9' fill='#ffffe5' stroke='#fdfdb2' />
+</svg>
index 5ee24e9137428bdf3efc7c181a9a8d253f388e44..8eab1ed8d30583841a3604772bcfec0f0fffb2cf 100644 (file)
@@ -58,8 +58,8 @@ mapnik:
   - { min_zoom: 11, name: centre, width: 26, height: 10, fill: "#dffce2" }
   - { min_zoom: 10, name: reserve, image: reserve.svg } # admin.mss
   - { min_zoom: 8, name: military, image: military.svg }
+  - { min_zoom: 13, name: school, image: school.svg }
   # other
-  - { min_zoom: 12, max_zoom: 19, name: school, image: school.png }
   - { min_zoom: 12, max_zoom: 19, name: building, image: building.png }
   - { min_zoom: 12, max_zoom: 19, name: station, image: station.png }
   - { min_zoom: 11, max_zoom: 19, name: summit, image: summit.png }
index 9c6dbc3bdea9701e840de58ba9adb15dda72d1a8..2e13fe13c0b787081f66a38a6916020d055975e3 100644 (file)
@@ -2350,6 +2350,7 @@ en:
           school:
             - School
             - university
+            - hospital
           building: "Significant building"
           station: "Railway station"
           summit: