From a4ffbb21401d0798ba8f849ec2d70b8c96bc523d Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 11 Dec 2023 14:46:35 +0300 Subject: [PATCH] Update rail mapnik map key --- app/assets/images/key/mapnik/rail.png | Bin 96 -> 0 bytes app/assets/images/key/mapnik/rail12.png | Bin 103 -> 0 bytes app/assets/images/key/mapnik/rail12.svg | 4 ++++ app/assets/images/key/mapnik/rail18.svg | 4 ++++ config/key.yml | 7 ++++--- 5 files changed, 12 insertions(+), 3 deletions(-) delete mode 100644 app/assets/images/key/mapnik/rail.png delete mode 100644 app/assets/images/key/mapnik/rail12.png create mode 100644 app/assets/images/key/mapnik/rail12.svg create mode 100644 app/assets/images/key/mapnik/rail18.svg diff --git a/app/assets/images/key/mapnik/rail.png b/app/assets/images/key/mapnik/rail.png deleted file mode 100644 index 0abf0c1df09c9440b3ce9cf62e0b6fec05b5b914..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 zcmeAS@N?(olHy`uVBq!ia0vp^CP2*0!3HGnu!3HGlZkx9QDLqdY$B+uf + + + diff --git a/app/assets/images/key/mapnik/rail18.svg b/app/assets/images/key/mapnik/rail18.svg new file mode 100644 index 000000000..5094bafde --- /dev/null +++ b/app/assets/images/key/mapnik/rail18.svg @@ -0,0 +1,4 @@ + + + + diff --git a/config/key.yml b/config/key.yml index 5ee24e913..534cce3b5 100644 --- a/config/key.yml +++ b/config/key.yml @@ -1,5 +1,5 @@ mapnik: - # transportation + # transportation: roads.mss - { min_zoom: 6, max_zoom: 19, name: motorway, image: motorway.png } - { min_zoom: 6, max_zoom: 7, name: main_road, image: mainroad.png } - { min_zoom: 8, max_zoom: 11, name: main_road, image: mainroad8.png } @@ -8,8 +8,9 @@ mapnik: - { min_zoom: 13, max_zoom: 19, name: bridleway, image: bridleway.png } - { min_zoom: 13, max_zoom: 19, name: cycleway, image: cycleway.png } - { min_zoom: 13, max_zoom: 19, name: footway, image: footway.png } - - { min_zoom: 8, max_zoom: 11, name: rail, image: rail.png } - - { min_zoom: 12, max_zoom: 19, name: rail, image: rail12.png } + - { min_zoom: 8, name: rail, width: 52, height: 1, fill: "#787878" } + - { min_zoom: 12, name: rail, image: rail12.svg } + - { min_zoom: 18, name: rail, image: rail18.svg } - { min_zoom: 13, max_zoom: 19, name: subway, image: subway.png } - { min_zoom: 13, max_zoom: 19, name: tram, image: tram.png } - { min_zoom: 12, max_zoom: 19, name: cable, image: cable.png } -- 2.39.5