From 8adab6cc8a1bff10d9f78e5b9d08cbedec15bc6a Mon Sep 17 00:00:00 2001 From: Sergey Vartanov Date: Sun, 23 Jan 2022 01:44:11 +0300 Subject: [PATCH] Add icon for advertising=column. --- doc/grid.svg | 2 +- map_machine/icons/config.json | 1 + map_machine/icons/icons.svg | 34 +++++++++++++++++++++++++++++++--- map_machine/scheme/default.yml | 2 ++ 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/doc/grid.svg b/doc/grid.svg index cf08cff..c363c1d 100644 --- a/doc/grid.svg +++ b/doc/grid.svg @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/map_machine/icons/config.json b/map_machine/icons/config.json index 9b2b1d9..da91562 100644 --- a/map_machine/icons/config.json +++ b/map_machine/icons/config.json @@ -246,6 +246,7 @@ "street_lamp": {"name": "street lamp"}, "toy_horse": {"name": "rocking horse"} }, + "advertising_column": {"name": "advertising column", "categories": ["amenity"]}, "bench": {"name": "bench", "categories": ["amenity"]}, "bench_backrest": {"name": "bench with backrest", "categories": ["amenity"]}, "bench_no_backrest": {"name": "bench without backrest", "categories": ["amenity"]}, diff --git a/map_machine/icons/icons.svg b/map_machine/icons/icons.svg index 22cce22..d7e8ff1 100644 --- a/map_machine/icons/icons.svg +++ b/map_machine/icons/icons.svg @@ -151,9 +151,9 @@ showgrid="false" inkscape:document-units="px" inkscape:current-layer="layer1" - inkscape:cy="275.17406" - inkscape:cx="728.74102" - inkscape:zoom="3.2960955" + inkscape:cy="406.08653" + inkscape:cx="596.61499" + inkscape:zoom="6.592191" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" @@ -30875,5 +30875,33 @@ id="rect14592" style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#0000ff;stroke:none;stroke-width:0.0999997;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate" d="M 727 273.5 C 726.8674 273.50002 726.74024 273.5527 726.64648 273.64648 L 722.14648 278.14648 C 721.83169 278.46148 722.05468 278.99983 722.5 279 L 723 279 L 723 286.5 C 723 286.777 723.223 287 723.5 287 L 725.5 287 L 728.5 287 L 729 287 L 729 284.5 C 729 284.223 729.223 284 729.5 284 L 730.5 284 C 730.777 284 731 284.223 731 284.5 L 731 287 L 732.5 287 C 732.777 287 733 286.777 733 286.5 L 733 281 L 733.5 281 C 733.94533 280.99983 734.16831 280.46148 733.85352 280.14648 L 727.35352 273.64648 C 727.25976 273.55271 727.1326 273.50002 727 273.5 z M 725.5 279 L 726.5 279 C 726.777 279 727 279.223 727 279.5 L 727 280.5 C 727 280.777 726.777 281 726.5 281 L 725.5 281 C 725.223 281 725 280.777 725 280.5 L 725 279.5 C 725 279.223 725.223 279 725.5 279 z M 729.5 279 A 0.50005 0.50005 0 0 1 729.85352 279.14648 L 730.85352 280.14648 A 0.50005 0.50005 0 0 1 730.5 281 L 729.5 281 A 0.50005 0.50005 0 0 1 729 280.5 L 729 279.5 A 0.50005 0.50005 0 0 1 729.30859 279.03906 A 0.50005 0.50005 0 0 1 729.5 279 z M 725.5 283 L 726.5 283 C 726.777 283 727 283.223 727 283.5 L 727 284.5 C 727 284.777 726.777 285 726.5 285 L 725.5 285 C 725.223 285 725 284.777 725 284.5 L 725 283.5 C 725 283.223 725.223 283 725.5 283 z " /> + + + + diff --git a/map_machine/scheme/default.yml b/map_machine/scheme/default.yml index 3e2817e..6bfaf13 100644 --- a/map_machine/scheme/default.yml +++ b/map_machine/scheme/default.yml @@ -1708,6 +1708,8 @@ node_icons: shapes: [ventilation] - tags: {advertising: billboard} shapes: [billboard] + - tags: {advertising: column} + shapes: [advertising_column] - tags: {natural: rock} shapes: [stone] - tags: {natural: stone}