forked from MapComplete/MapComplete
Finish of the cleanup of themes as json
This commit is contained in:
parent
c5b7d66345
commit
165084d4d5
15 changed files with 352 additions and 333 deletions
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
46
assets/layers/information_board/information_board.json
Normal file
46
assets/layers/information_board/information_board.json
Normal file
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"id": "information_boards",
|
||||
"name": {
|
||||
"nl": "Informatieborden",
|
||||
"en": "Information boards"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"overpassTags": {
|
||||
"and": [
|
||||
"information=board"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"nl": "Informatiebord",
|
||||
"en": "Information board"
|
||||
}
|
||||
},
|
||||
"description": {},
|
||||
"tagRenderings": [],
|
||||
"hideUnderlayingFeaturesMinPercentage": 0,
|
||||
"icon": {
|
||||
"render": "./assets/layers/information_board/board.svg"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"tourism=information",
|
||||
"information=board"
|
||||
],
|
||||
"title": {
|
||||
"nl": "Informatiebord",
|
||||
"en": "Information board"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -40,7 +40,295 @@
|
|||
"description": {
|
||||
"nl": "Een natuurgebied is een gebied waar actief ruimte gemaakt word voor de natuur. Typisch zijn deze in beheer van Natuurpunt of het Agentschap Natuur en Bos of zijn deze erkend door de overheid."
|
||||
},
|
||||
"tagRenderings": [],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"#": "Access tag",
|
||||
"render": {
|
||||
"nl": "De toegankelijkheid van dit gebied is: {access:description}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Is dit gebied toegankelijk?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "access:description"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=yes",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Vrij toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=no",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=private",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk, want privégebied"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=permissive",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk, ondanks dat het privegebied is"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=guided",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Enkel toegankelijk met een gids of tijdens een activiteit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=yes",
|
||||
"fee=yes"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk mits betaling"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"#": "Operator tag",
|
||||
"render": {
|
||||
"nl": "Beheer door {operator}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Wie beheert dit gebied?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "operator"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator=Natuurpunt"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door Natuurpunt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator~(n|N)atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door {operator}"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator=Agentschap Natuur en Bos"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/ANB.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door het Agentschap Natuur en Bos"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"#": "Name:nl-tag",
|
||||
"render": {
|
||||
"nl": "Dit gebied heet {name:nl}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Wat is de Nederlandstalige naam van dit gebied?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name:nl"
|
||||
},
|
||||
"condition": {
|
||||
"and": [
|
||||
"name:nl~*"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Name tag",
|
||||
"render": {
|
||||
"nl": "Dit gebied heet {name}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Wat is de naam van dit gebied?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name",
|
||||
"addExtraTags": [
|
||||
"noname="
|
||||
]
|
||||
},
|
||||
"condition": {
|
||||
"and": [
|
||||
"name:nl="
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"noname=yes",
|
||||
"name="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Dit gebied heeft geen naam"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"#": "Dogs?",
|
||||
"question": {
|
||||
"nl": "Zijn honden toegelaten in dit gebied?",
|
||||
"en": "Are dogs allowed in this nature reserve?"
|
||||
},
|
||||
"condition": {
|
||||
"or": [
|
||||
"access=yes",
|
||||
"access=permissive",
|
||||
"access=guided"
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "dog=leashed",
|
||||
"then": {
|
||||
"nl": "Honden moeten aan de leiband",
|
||||
"en": "Dogs have to be leashed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "dog=no",
|
||||
"then": {
|
||||
"nl": "Honden zijn niet toegestaan",
|
||||
"en": "No dogs allowed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "dog=yes",
|
||||
"then": {
|
||||
"nl": "Honden zijn welkom en mogen vrij rondlopen",
|
||||
"en": "Dogs are allowed to roam freely"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"#": "Website",
|
||||
"question": {
|
||||
"en": "On which webpage can one find more information about this nature reserve?",
|
||||
"nl": "Op welke webpagina kan men meer informatie vinden over dit natuurgebied?"
|
||||
},
|
||||
"render": "<a href='{website}'target='_blank'>{website}</a>",
|
||||
"freeform": {
|
||||
"key": "website",
|
||||
"type": "url"
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Curator",
|
||||
"question": {
|
||||
"nl": "Wie is de conservator van dit gebied?<br/><span class='subtle'>Respecteer privacy - geef deze naam enkel als die duidelijk is gepubliceerd",
|
||||
"en": "Whom is the curator of this nature reserve?<br/><span class='subtle'>Respect privacy - only fill out a name if this is widely published"
|
||||
},
|
||||
"render": {
|
||||
"nl": "{curator} is de beheerder van dit gebied",
|
||||
"en": "{curator} is the curator of this nature reserve"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "curator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Email",
|
||||
"question": {
|
||||
"nl": "Waar kan men naartoe emailen voor vragen en meldingen van dit natuurgebied?<br/><span class='subtle'>Respecteer privacy - geef enkel persoonlijke emailadressen als deze elders zijn gepubliceerd",
|
||||
"en": "What email adress can one send to with questions and problems with this nature reserve?<br/><span class='subtle'>Respect privacy - only fill out a personal email address if this is widely published"
|
||||
},
|
||||
"render": {
|
||||
"nl": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"en": "<a href='mailto:{email}' target='_blank'>{email}</a>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "email",
|
||||
"type": "email"
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "phone",
|
||||
"question": {
|
||||
"nl": "Waar kan men naartoe bellen voor vragen en meldingen van dit natuurgebied?<br/><span class='subtle'>Respecteer privacy - geef enkel persoonlijke telefoonnummers als deze elders zijn gepubliceerd",
|
||||
"en": "What phone number can one call to with questions and problems with this nature reserve?<br/><span class='subtle'>Respect privacy - only fill out a personal phone number address if this is widely published"
|
||||
},
|
||||
"render": {
|
||||
"nl": "<a href='tel:{email}' target='_blank'>{phone}</a>",
|
||||
"en": "<a href='tel:{email}' target='_blank'>{phone}</a>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "phone",
|
||||
"type": "phone"
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Non-editable description {description}",
|
||||
"render": {
|
||||
"nl": "Extra info: <i>{description}</i>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "description"
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Editable description {description:0}",
|
||||
"question": "Is er extra info die je kwijt wil?",
|
||||
"render": {
|
||||
"nl": "Extra info: <i>{description:0}</i>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "description:0"
|
||||
}
|
||||
}
|
||||
],
|
||||
"hideUnderlayingFeaturesMinPercentage": 10,
|
||||
"icon": {
|
||||
"render": "./assets/themes/buurtnatuur/nature_reserve.svg"
|
||||
|
|
|
@ -1,83 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
width="14"
|
||||
height="14"
|
||||
viewBox="0 0 14 14"
|
||||
id="svg2"
|
||||
sodipodi:docname="guidepost.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1001"
|
||||
id="namedview7"
|
||||
showgrid="false"
|
||||
inkscape:zoom="33.714286"
|
||||
inkscape:cx="11.006743"
|
||||
inkscape:cy="3.62286"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<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" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<rect
|
||||
width="14"
|
||||
height="14"
|
||||
x="0"
|
||||
y="0"
|
||||
id="canvas"
|
||||
style="fill:none;stroke:none;visibility:hidden" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
inkscape:label="bg"
|
||||
style="display:inline">
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:32.77777863;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path820"
|
||||
cx="7"
|
||||
cy="7"
|
||||
r="7" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="fg"
|
||||
sodipodi:insensitive="true">
|
||||
<path
|
||||
d="m 7.2669492,1.9396186 c -0.282839,0 -0.565678,0.1885594 -0.565678,0.565678 v 9.8050844 h 1.131356 V 2.5052966 c 0,-0.3771186 -0.282839,-0.565678 -0.565678,-0.565678 z M 3.4957628,2.5052966 1.9872882,3.6366525 3.4957628,4.7680085 H 6.5127119 V 2.5052966 Z M 8.0211865,4.7680085 V 7.0307203 H 11.038135 L 12.54661,5.8993644 11.038135,4.7680085 Z"
|
||||
id="guidepost"
|
||||
style="fill:#555555;fill-opacity:1;stroke:none;stroke-width:0.75423729"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 24 KiB |
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"id": "buurtnatuur",
|
||||
"title": {
|
||||
"#": "DO NOT TRANSLATE THIS THEME - this one is only meant to be in dutch!",
|
||||
"nl": "Breng jouw buurtnatuur in kaart"
|
||||
},
|
||||
"shortDescription": {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"id": "maps",
|
||||
"title": {
|
||||
"en": "Information boards",
|
||||
"nl": "Informatieborden en kaarten"
|
||||
"en": "A map of maps",
|
||||
"nl": "Een kaart met Kaarten"
|
||||
},
|
||||
"shortDescription": {
|
||||
"en": "A map of maps and information boards",
|
||||
"nl": "Een kaart met kaarten en informatieborden"
|
||||
"en": "On this map, all the maps known by OpenStreetMap are shown",
|
||||
"nl": "Een kaart met alle kaarten die OpenStreetMap kent"
|
||||
},
|
||||
"description": {
|
||||
"en": "On this map you can find all maps OpenStreetMap knows.<br/><br/>If a map is missing, you can easily map this map on OpenStreetMap.",
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"drinking_water",
|
||||
"birdhides",
|
||||
"maps",
|
||||
"information_boards",
|
||||
"nature_reserves"
|
||||
],
|
||||
"roamingRenderings": []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue