only dutch layers for natuurpunt

This commit is contained in:
Ward 2021-07-28 14:52:42 +02:00
parent 40717af859
commit 57e43a2fbb
2 changed files with 469 additions and 502 deletions

View file

@ -1,14 +1,13 @@
{
"id": "watermill",
"name": {
"nl": "watermolens"
"nl": "Watermolens",
"en": "Watermill"
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
"man_made=watermill"
]
"and": ["man_made=watermill"]
}
},
"title": {
@ -18,9 +17,7 @@
"mappings": [
{
"if": {
"and": [
"name:nl~*"
]
"and": ["name:nl~*"]
},
"then": {
"nl": "{name:nl}"
@ -28,9 +25,7 @@
},
{
"if": {
"and": [
"name~*"
]
"and": ["name~*"]
},
"then": {
"nl": "{name}"
@ -57,10 +52,7 @@
"mappings": [
{
"if": {
"and": [
"access=yes",
"fee="
]
"and": ["access=yes", "fee="]
},
"then": {
"nl": "Vrij toegankelijk"
@ -68,10 +60,7 @@
},
{
"if": {
"and": [
"access=no",
"fee="
]
"and": ["access=no", "fee="]
},
"then": {
"nl": "Niet toegankelijk"
@ -79,10 +68,7 @@
},
{
"if": {
"and": [
"access=private",
"fee="
]
"and": ["access=private", "fee="]
},
"then": {
"nl": "Niet toegankelijk, want privégebied"
@ -90,10 +76,7 @@
},
{
"if": {
"and": [
"access=permissive",
"fee="
]
"and": ["access=permissive", "fee="]
},
"then": {
"nl": "Toegankelijk, ondanks dat het privegebied is"
@ -101,10 +84,7 @@
},
{
"if": {
"and": [
"access=guided",
"fee="
]
"and": ["access=guided", "fee="]
},
"then": {
"nl": "Enkel toegankelijk met een gids of tijdens een activiteit"
@ -112,10 +92,7 @@
},
{
"if": {
"and": [
"access=yes",
"fee=yes"
]
"and": ["access=yes", "fee=yes"]
},
"then": {
"nl": "Toegankelijk mits betaling"
@ -137,9 +114,7 @@
"mappings": [
{
"if": {
"and": [
"operator=Natuurpunt"
]
"and": ["operator=Natuurpunt"]
},
"then": {
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door Natuurpunt"
@ -147,9 +122,7 @@
},
{
"if": {
"and": [
"operator~(n|N)atuurpunt.*"
]
"and": ["operator~(n|N)atuurpunt.*"]
},
"then": {
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door {operator}"

View file

@ -13,10 +13,7 @@
"nl": "Op deze kaart vind je alle natuurgebieden die Natuurpunt ter beschikking stelt",
"en": "On this map you can find all the nature reserves that Natuurpunt offers "
},
"language": [
"nl",
"en"
],
"language": ["nl"],
"maintainer": "",
"icon": "./assets/themes/natuurpunt/natuurpunt.png",
"version": "0",
@ -26,16 +23,15 @@
"widenFactor": 0.05,
"socialImage": "",
"defaultBackgroundId": "CartoDB.Positron",
"layers": [{
"layers": [
{
"#": "Nature reserve with geometry, z>=13",
"builtin": "nature_reserve",
"override": {
"name": null,
"source": {
"osmTags": {
"+and": [
"operator~.*[nN]atuurpunt.*"
]
"+and": ["operator~.*[nN]atuurpunt.*"]
},
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 12,
@ -62,9 +58,7 @@
"override": {
"source": {
"osmTags": {
"+and": [
"operator~.*[nN]atuurpunt.*"
]
"+and": ["operator~.*[nN]atuurpunt.*"]
},
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_nature_reserve_points.geojson",
"isOsmCache": "duplicate"
@ -88,9 +82,7 @@
"override": {
"source": {
"osmTags": {
"+and": [
"operator~.*[nN]atuurpunt.*"
]
"+and": ["operator~.*[nN]atuurpunt.*"]
},
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 1,
@ -115,9 +107,7 @@
"override": {
"source": {
"osmTags": {
"+and": [
"operator~.*[nN]atuurpunt.*"
]
"+and": ["operator~.*[nN]atuurpunt.*"]
},
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 12,
@ -126,7 +116,8 @@
"minzoom": "13",
"icon": {
"render": "circle:#FE6F32;./assets/themes/natuurpunt/trail.svg",
"mappings": [{
"mappings": [
{
"if": "wheelchair=yes",
"then": "circle:#FE6F32;./assets/themes/natuurpunt/walk_wheelchair.svg"
},
@ -138,11 +129,7 @@
},
"deletion": {
"hardDeletionTags": {
"and": [
"route=hiking",
"route=bycicle",
"route=horse"
]
"and": ["route=hiking", "route=bycicle", "route=horse"]
}
}
}
@ -158,7 +145,8 @@
},
"icon": {
"render": "circle:#FE6F32;./assets/themes/natuurpunt/toilets.svg",
"mappings": [{
"mappings": [
{
"if": "wheelchair=yes",
"then": "circle:#FE6F32;./assets/themes/natuurpunt/wheelchair.svg"
},
@ -186,12 +174,14 @@
"render": "circle:#FE6F32;./assets/themes/natuurpunt/birdhide.svg",
"mappings": null
},
"deletion": [{
"deletion": [
{
"if": "leisure=bird_hide",
"then": {
"hardDeletionTags": "leisure=bird_hide"
}
}, {
},
{
"if": {
"or": [
"building=yes",
@ -208,7 +198,8 @@
]
}
}
}]
}
]
}
},
{
@ -251,12 +242,15 @@
"minzoom": "16",
"icon": {
"render": "circle:#FE6F32;./assets/themes/natuurpunt/parking.svg",
"mappings": [{
"mappings": [
{
"if": "amenity=bicycle_parking",
"then": "circle:#FE6F32;./assets/themes/natuurpunt/parkingbike.svg"
}]
}
]
},
"iconOverlays": [{
"iconOverlays": [
{
"if": "amenity=motorcycle_parking",
"then": "circle:#335D9F;./assets/themes/natuurpunt/parkingmotor.svg",
"badge": true