Themes: add guidepost layer

This commit is contained in:
Pieter Vander Vennet 2023-10-07 02:59:17 +02:00
parent 19a760178b
commit a06e513c4f
6 changed files with 140 additions and 0 deletions

View file

@ -0,0 +1,53 @@
{
"id": "guidepost",
"name": {
"en": "Guideposts"
},
"description": {
"en": "Guideposts (also known as fingerposts or finger posts) are often found along official hiking/cycling/riding/skiing routes to indicate the directions to different destinations"
},
"source": {
"osmTags": "information=guidepost"
},
"minzoom": 14,
"presets": [
{
"title": {
"en": "a guidepost"
},
"tags": [
"information=guidepost",
"tourism=information"
],
"description": {
"en": "A guidepost (also known as fingerpost) is often found along official hiking/cycling/riding/skiing routes to indicate the directions to different destinations"
},
"exampleImages": [
"./assets/layers/guidepost/guidepost_example.jpg"
]
}
],
"deletion": true,
"allowMove": {
"enableImproveAccuracy": "true",
"enableRelocation": "false"
},
"title": {},
"pointRendering": [
{
"location": [
"centroid",
"point"
],
"marker": [
{
"icon": "./assets/layers/guidepost/guidepost.svg"
}
],
"anchor": "bottom"
}
],
"tagRenderings": [
"images"
]
}

View file

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="500"
height="500"
viewBox="0 0 500 500"
id="svg2"
sodipodi:docname="guidepost.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="0.4932029"
inkscape:cx="111.51597"
inkscape:cy="276.76236"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6" />
<rect
width="499.41919"
height="499.41919"
x="0"
y="0"
id="canvas"
style="visibility:hidden;fill:none;stroke:none;stroke-width:35.6728" />
<path
d="m 249.7096,8.9181999 c -13.3773,0 -26.7546,8.9182001 -26.7546,26.7546001 v 463.74639 h 53.5092 V 35.6728 c 0,-17.8364 -13.3773,-26.7546001 -26.7546,-26.7546001 z M 71.345599,35.6728 0,89.181999 71.345599,142.6912 H 214.0368 V 35.6728 Z M 285.3824,142.6912 v 107.0184 h 142.6912 l 71.34559,-53.5092 -71.34559,-53.5092 z"
id="guidepost"
style="fill:#555555;fill-opacity:1;stroke:none;stroke-width:35.6728" />
</svg>

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: OSM Carto
SPDX-License-Identifier: CC0-1.0

View file

@ -0,0 +1,22 @@
[
{
"path": "guidepost.svg",
"license": "CC0-1.0",
"authors": [
"OSM Carto"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Guidepost-14.svg"
]
},
{
"path": "signpost_example.jpg",
"license": "CC0-1.0",
"authors": [
"Mschaeuble"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Signpost.jpg"
]
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Mschaeuble
SPDX-License-Identifier: CC0