forked from MapComplete/MapComplete
Refactoring: remove old and obsolete data fields in themes and layers
This commit is contained in:
parent
130ae82e90
commit
922cebf9d1
49 changed files with 574 additions and 664 deletions
|
@ -1,4 +1,28 @@
|
|||
{
|
||||
"id": "aerialway",
|
||||
"name": {
|
||||
"en": "Aerialways",
|
||||
"de": "Seilbahnen"
|
||||
},
|
||||
"description": {
|
||||
"en": "Various forms of transport for passengers and goods that use wires, including cable cars, gondolas, chair lifts, drag lifts, and zip lines. ",
|
||||
"de": "Alle Arten von seil- oder drahtgestütztem Personen- oder Gütertransport, wie Seilbahnen, Gondeln, Sessellifte, Schlepplifte. "
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"aerialway~*",
|
||||
"aerialway!=pylon",
|
||||
"aerialway!=station"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Aerialway {name}",
|
||||
"de": "Seilbahn {name}"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -27,6 +51,27 @@
|
|||
"labelCssClasses": "bg-white px-2 py-1 no-weblate"
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "4",
|
||||
"color": "black",
|
||||
"imageAlongWay": [
|
||||
{
|
||||
"if": "oneway=no",
|
||||
"then": "./assets/png/twoway.png"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"oneway=yes",
|
||||
"oneway="
|
||||
]
|
||||
},
|
||||
"then": "./assets/png/oneway.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -183,50 +228,5 @@
|
|||
"de": "Die Seilbahn hat eine Länge von {_length:km} km"
|
||||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "4",
|
||||
"color": "black",
|
||||
"imageAlongWay": [
|
||||
{
|
||||
"if": "oneway=no",
|
||||
"then": "./assets/png/twoway.png"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"oneway=yes",
|
||||
"oneway="
|
||||
]
|
||||
},
|
||||
"then": "./assets/png/oneway.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"id": "aerialway",
|
||||
"name": {
|
||||
"en": "Aerialways",
|
||||
"de": "Seilbahnen"
|
||||
},
|
||||
"description": {
|
||||
"en": "Various forms of transport for passengers and goods that use wires, including cable cars, gondolas, chair lifts, drag lifts, and zip lines. ",
|
||||
"de": "Alle Arten von seil- oder drahtgestütztem Personen- oder Gütertransport, wie Seilbahnen, Gondeln, Sessellifte, Schlepplifte. "
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"aerialway~*",
|
||||
"aerialway!=pylon",
|
||||
"aerialway!=station"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Aerialway {name}",
|
||||
"de": "Seilbahn {name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"id": "assembly_point",
|
||||
"name": {
|
||||
"en": "Emergency assembly points",
|
||||
"it": "Punti di raccolta per emergenze",
|
||||
|
@ -13,9 +10,6 @@
|
|||
"it": "Questo livello contiene punti di raccolta e aree di attesa in cui tutti i dipendenti, i passeggeri o una grande folla si riuniscono in caso di emergenza.",
|
||||
"de": "Diese Ebene enthält Sammelplätze und Wartebereiche, in denen sich alle Mitarbeiter, Fahrgäste oder eine große Menschenmenge im Notfall versammeln."
|
||||
},
|
||||
"docs": "https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dassembly_point",
|
||||
"id": "assembly_point",
|
||||
"minzoom": 10,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
@ -23,6 +17,13 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 10,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Assembly point during emergencies",
|
||||
"de": "Sammelplatz bei Notfällen"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"iconSize": "20,20",
|
||||
|
@ -50,12 +51,6 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Assembly point during emergencies",
|
||||
"de": "Sammelplatz bei Notfällen"
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -154,5 +149,10 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"docs": "https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dassembly_point"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,12 @@
|
|||
"nl": "Oplaadpunten",
|
||||
"de": "Ladestationen"
|
||||
},
|
||||
"minzoom": 10,
|
||||
"description": {
|
||||
"en": "A charging station",
|
||||
"nl": "Oplaadpunten",
|
||||
"ca": "Una estació de càrrega",
|
||||
"de": "Eine Ladestation"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
@ -20,6 +25,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 10,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Charging station",
|
||||
|
@ -65,13 +71,103 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"en": "A charging station",
|
||||
"nl": "Oplaadpunten",
|
||||
"ca": "Una estació de càrrega",
|
||||
"de": "Eine Ladestation"
|
||||
},
|
||||
"#": "no-question-hint-check",
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "pin",
|
||||
"color": "#fff"
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/charging_stations/plug.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "bicycle=yes",
|
||||
"then": "./assets/themes/charging_stations/bicycle.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"car=yes",
|
||||
"motorcar=yes"
|
||||
]
|
||||
},
|
||||
"then": "./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"disused:amenity=charging_station",
|
||||
"operational_status=broken"
|
||||
]
|
||||
},
|
||||
"then": "close:#c22;"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"proposed:amenity=charging_station",
|
||||
"planned:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"then": "./assets/layers/charging_station/under_construction.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"bicycle=yes",
|
||||
{
|
||||
"or": [
|
||||
"motorcar=yes",
|
||||
"car=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:#fff;./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
],
|
||||
"anchor": "bottom",
|
||||
"iconSize": "50,50"
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=no",
|
||||
"bicycle=yes"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for electrical bikes",
|
||||
"nl": "oplaadpunt voor elektrische fietsen",
|
||||
"de": "Ladestation für Elektrofahrräder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=yes",
|
||||
"bicycle=no"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for cars",
|
||||
"nl": "oplaadstation voor elektrische auto's",
|
||||
"de": "Ladestation für Elektrofahrräder"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -2316,103 +2412,6 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "pin",
|
||||
"color": "#fff"
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/charging_stations/plug.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "bicycle=yes",
|
||||
"then": "./assets/themes/charging_stations/bicycle.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"car=yes",
|
||||
"motorcar=yes"
|
||||
]
|
||||
},
|
||||
"then": "./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"disused:amenity=charging_station",
|
||||
"operational_status=broken"
|
||||
]
|
||||
},
|
||||
"then": "close:#c22;"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"proposed:amenity=charging_station",
|
||||
"planned:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"then": "./assets/layers/charging_station/under_construction.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"bicycle=yes",
|
||||
{
|
||||
"or": [
|
||||
"motorcar=yes",
|
||||
"car=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:#fff;./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
],
|
||||
"anchor": "bottom",
|
||||
"iconSize": "50,50"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=no",
|
||||
"bicycle=yes"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for electrical bikes",
|
||||
"nl": "oplaadpunt voor elektrische fietsen",
|
||||
"de": "Ladestation für Elektrofahrräder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=yes",
|
||||
"bicycle=no"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for cars",
|
||||
"nl": "oplaadstation voor elektrische auto's",
|
||||
"de": "Ladestation für Elektrofahrräder"
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "vehicle-type",
|
||||
|
@ -2611,6 +2610,20 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
"and": [
|
||||
"amenity=",
|
||||
"disused:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"neededChangesets": 10
|
||||
},
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"#": "no-question-hint-check",
|
||||
"units": [
|
||||
{
|
||||
"maxstay": {
|
||||
|
@ -2759,18 +2772,5 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
"and": [
|
||||
"amenity=",
|
||||
"disused:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"neededChangesets": 10
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
}
|
||||
},
|
||||
"minzoom": 19,
|
||||
"doCount": false,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Climbing opportunity?",
|
||||
|
@ -148,5 +147,6 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"doCount": false
|
||||
}
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
"source": {
|
||||
"osmTags": "HUISNR~*",
|
||||
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/CRAB_2021_10_26/tile_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 18,
|
||||
"maxCacheAge": 0
|
||||
"geoJsonZoomLevel": 18
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_HNRLABEL=(() => {const lbl = feat.properties.HNRLABEL?.split('-')?.map(l => Number(l))?.filter(i => !isNaN (i)) ;if(lbl?.length != 2) {return feat.properties.HNRLABEL}; const addresses = []; for(let i = lbl[0]; i <= lbl[1]; i += 1){addresses.push(''+i);}; return addresses.join(';') })()"
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
{
|
||||
"id": "disaster_response",
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Disaster response organization",
|
||||
"it": "Organizzazione per la risposta ai disastri",
|
||||
"de": "Katastrophenschutzorganisation"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"en": "Disaster response organizations",
|
||||
"de": "Katastrophenschutzorganisationen"
|
||||
|
@ -16,8 +9,36 @@
|
|||
"it": "Questo livello contiene organizzazioni che hanno come obiettivo principale quello di aiutare la popolazione civile durante e dopo disastri naturali o antropogenici, lavorando nell'area colpita.",
|
||||
"de": "Diese Ebene umfasst Organisationen, deren Hauptziel es ist, der Zivilbevölkerung während und nach Natur- oder anthropogenen Katastrophen zu helfen, indem sie in dem betroffenen Gebiet tätig sind."
|
||||
},
|
||||
"docs": "https://wiki.openstreetmap.org/wiki/Tag:emergency%3Ddisaster_response",
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"emergency=disaster_response"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 10,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Disaster response organization",
|
||||
"it": "Organizzazione per la risposta ai disastri",
|
||||
"de": "Katastrophenschutzorganisation"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"anchor": "bottom",
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/themes/disaster_response/CivilDefence.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"color": "#6BC4F7",
|
||||
|
@ -36,28 +57,6 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"emergency=disaster_response"
|
||||
]
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"anchor": "bottom",
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/themes/disaster_response/CivilDefence.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"website",
|
||||
|
@ -77,5 +76,6 @@
|
|||
"de": "Diese Organisation heißt <b>{name}</b>"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"docs": "https://wiki.openstreetmap.org/wiki/Tag:emergency%3Ddisaster_response"
|
||||
}
|
||||
|
|
|
@ -441,4 +441,4 @@
|
|||
],
|
||||
"deletion": true,
|
||||
"allowMove": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
"en": "Ice cream parlors",
|
||||
"de": "Eisdielen"
|
||||
},
|
||||
"minzoom": 14,
|
||||
"description": {
|
||||
"en": "A place where ice cream is sold over the counter",
|
||||
"de": "Ein Ort, an dem Eiscreme an der Theke verkauft wird"
|
||||
|
@ -12,6 +11,7 @@
|
|||
"source": {
|
||||
"osmTags": "amenity=ice_cream"
|
||||
},
|
||||
"minzoom": 14,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ice cream parlor",
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{
|
||||
"id": "item_with_image",
|
||||
"name": {
|
||||
"en": "Items with at least one image"
|
||||
},
|
||||
"description": "All items with an image. All alone, not a layer which is relevant for any MapComplete theme, as it is a random collection of items. However, when put into the databank, this allows to quickly fetch (the URL of) pictures nearby a different object, to quickly link this",
|
||||
"minzoom": 14,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
|
@ -15,9 +17,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"minzoom": 14,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "POI with image"
|
||||
|
@ -31,10 +31,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"en": "Items with at least one image"
|
||||
},
|
||||
"lineRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"marker": [
|
||||
|
@ -47,5 +43,9 @@
|
|||
"point"
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
},
|
||||
"source": {
|
||||
"osmTags": "mr_taskId~*",
|
||||
"geoJson": "https://maproulette.org/api/v2/challenge/view/27971",
|
||||
"isOsmCache": false
|
||||
"geoJson": "https://maproulette.org/api/v2/challenge/view/27971"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
{
|
||||
"credits": "Not logged in",
|
||||
"id": "mountain_rescue",
|
||||
"name": {
|
||||
"en": "Mountain rescue stations",
|
||||
"de": "Bergrettungsstationen"
|
||||
},
|
||||
"description": {
|
||||
"en": "A building where first aid responders store material and might be on watch",
|
||||
"de": "Ein Gebäude, in dem die Ersthelfer Material lagern und möglicherweise Wache halten"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "emergency=mountain_rescue"
|
||||
},
|
||||
"minzoom": 10,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Mountain rescue station",
|
||||
"de": "Bergrettungsstation"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -19,37 +36,12 @@
|
|||
"rotation": "45"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "3",
|
||||
"color": "#ed333b"
|
||||
}
|
||||
],
|
||||
"id": "mountain_rescue",
|
||||
"name": {
|
||||
"en": "Mountain rescue stations",
|
||||
"de": "Bergrettungsstationen"
|
||||
},
|
||||
"description": {
|
||||
"en": "A building where first aid responders store material and might be on watch",
|
||||
"de": "Ein Gebäude, in dem die Ersthelfer Material lagern und möglicherweise Wache halten"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "emergency=mountain_rescue"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Mountain rescue station",
|
||||
"de": "Bergrettungsstation"
|
||||
}
|
||||
},
|
||||
"deletion": true,
|
||||
"allowMove": {
|
||||
"enableRelocation": false
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
|
@ -60,5 +52,13 @@
|
|||
"emergency=mountain_rescue"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"deletion": true,
|
||||
"allowMove": {
|
||||
"enableRelocation": false
|
||||
},
|
||||
"credits": "Not logged in"
|
||||
}
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
"source": {
|
||||
"osmTags": "date_created~*",
|
||||
"geoJson": "https://api.openstreetmap.org/api/0.6/notes.json?limit=10000&closed=7&bbox={x_min},{y_min},{x_max},{y_max}",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"maxCacheAge": 0,
|
||||
"isOsmCache": false
|
||||
"geoJsonZoomLevel": 12
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_total_comments:=get(feat)('comments').length",
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
"source": {
|
||||
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/community_index/tile_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 6,
|
||||
"osmTags": "resources~*",
|
||||
"isOsmCache": false
|
||||
"osmTags": "resources~*"
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_community_links=Object.values(JSON.parse(feat.properties.resources || '{}')).map(value =>{return value.resolved.nameHTML + '<br> ' + value.resolved.descriptionHTML}).join('<br>')"
|
||||
|
|
|
@ -1,5 +1,20 @@
|
|||
{
|
||||
"id": "playground_equipment",
|
||||
"name": {
|
||||
"en": "Playground equipment"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing playground equipment"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "playground~*"
|
||||
},
|
||||
"minzoom": 18,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Playground device"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -18,6 +33,25 @@
|
|||
"iconSize": "20,20"
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"playground=yes"
|
||||
],
|
||||
"title": {
|
||||
"en": "a playground device"
|
||||
},
|
||||
"description": {
|
||||
"en": "An exact type is asked later"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -299,39 +333,5 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "playground_equipment",
|
||||
"name": {
|
||||
"en": "Playground equipment"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing playground equipment"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "playground~*"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Playground device"
|
||||
}
|
||||
},
|
||||
"allowMove": true,
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"playground=yes"
|
||||
],
|
||||
"title": {
|
||||
"en": "a playground device"
|
||||
},
|
||||
"description": {
|
||||
"en": "An exact type is asked later"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"allowMove": true
|
||||
}
|
||||
|
|
|
@ -634,4 +634,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,32 @@
|
|||
{
|
||||
"id": "ski_piste",
|
||||
"name": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"description": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
{
|
||||
"or": [
|
||||
"piste:type=downhill",
|
||||
"piste:type=connection"
|
||||
]
|
||||
},
|
||||
"area!=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ski piste {name}",
|
||||
"de": "Skipiste {name}"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -12,6 +40,40 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "10",
|
||||
"color": {
|
||||
"mappings": [
|
||||
{
|
||||
"then": "green",
|
||||
"if": "piste:difficulty=novice"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=easy",
|
||||
"then": "blue"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=intermediate",
|
||||
"then": "red"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=advanced",
|
||||
"then": "black"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=expert",
|
||||
"then": "orange"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=",
|
||||
"then": "gray"
|
||||
}
|
||||
]
|
||||
},
|
||||
"imageAlongWay": "./assets/png/oneway.png"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -73,67 +135,5 @@
|
|||
"de": "Dieser Teil der Skipiste hat eine Länge von {_length:km} km"
|
||||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "10",
|
||||
"color": {
|
||||
"mappings": [
|
||||
{
|
||||
"then": "green",
|
||||
"if": "piste:difficulty=novice"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=easy",
|
||||
"then": "blue"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=intermediate",
|
||||
"then": "red"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=advanced",
|
||||
"then": "black"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=expert",
|
||||
"then": "orange"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=",
|
||||
"then": "gray"
|
||||
}
|
||||
]
|
||||
},
|
||||
"imageAlongWay": "./assets/png/oneway.png"
|
||||
}
|
||||
],
|
||||
"id": "ski_piste",
|
||||
"name": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"description": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
{
|
||||
"or": [
|
||||
"piste:type=downhill",
|
||||
"piste:type=connection"
|
||||
]
|
||||
},
|
||||
"area!=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ski piste {name}",
|
||||
"de": "Skipiste {name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,4 +1,24 @@
|
|||
{
|
||||
"id": "souvenir_coin",
|
||||
"name": {
|
||||
"en": "Souvenir Coin Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir coins"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_coins.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Coin Machine"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -22,6 +42,26 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir coin machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir coins"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_coins"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours_24_7",
|
||||
|
@ -110,46 +150,6 @@
|
|||
"level",
|
||||
"check_date"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "souvenir_coin",
|
||||
"name": {
|
||||
"en": "Souvenir Coin Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir coins"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_coins.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Coin Machine"
|
||||
}
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir coin machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir coins"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_coins"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now",
|
||||
"accepts_debit_cards",
|
||||
|
@ -157,4 +157,4 @@
|
|||
],
|
||||
"deletion": true,
|
||||
"allowMove": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,24 @@
|
|||
{
|
||||
"id": "souvenir_note",
|
||||
"name": {
|
||||
"en": "Souvenir Banknote Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir banknotes"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_notes.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Banknote Machine"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -22,6 +42,26 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir banknote machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir banknotes"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_notes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours_24_7",
|
||||
|
@ -128,46 +168,6 @@
|
|||
"level",
|
||||
"check_date"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "souvenir_note",
|
||||
"name": {
|
||||
"en": "Souvenir Banknote Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir banknotes"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_notes.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Banknote Machine"
|
||||
}
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir banknote machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir banknotes"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_notes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now",
|
||||
"accepts_debit_cards",
|
||||
|
@ -175,4 +175,4 @@
|
|||
],
|
||||
"deletion": true,
|
||||
"allowMove": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
"de": "Ein Ort, an dem erotische Tanz-, Striptease- oder Lapdances kommerziell durchgeführt werden. "
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=stripclub",
|
||||
"isOsmCache": false
|
||||
"osmTags": "amenity=stripclub"
|
||||
},
|
||||
"minzoom": 6,
|
||||
"title": {
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
"en": "Summary"
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
"all_tags"
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -17,11 +14,12 @@
|
|||
"centroid"
|
||||
],
|
||||
"iconSize": "40,40",
|
||||
"label": {
|
||||
"render": "{total_metric}"
|
||||
},
|
||||
"label": "{total_metric}",
|
||||
"labelCss": "background: #ffffffbb",
|
||||
"labelCssClasses": "w-12 text-lg rounded-xl p-1 px-2"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"all_tags"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -8,19 +8,42 @@
|
|||
"en": "Find trolley bays for shopping trolleys.",
|
||||
"de": "Finde Einkaufswagenbuchten für Einkaufswagen."
|
||||
},
|
||||
"title": {
|
||||
"en": "Trolley Bay",
|
||||
"de": "Einkaufswagenbucht"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=trolley_bay"
|
||||
},
|
||||
"minzoom": 18,
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true,
|
||||
"enableRelocation": true
|
||||
"title": {
|
||||
"en": "Trolley Bay",
|
||||
"de": "Einkaufswagenbucht"
|
||||
},
|
||||
"deletion": true,
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/layers/trolley_bay/trolley_bay.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a trolley bay",
|
||||
"de": "eine Einkaufswagenbucht"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=trolley_bay"
|
||||
],
|
||||
"description": {
|
||||
"en": "A trolley bay for parking shopping carts.",
|
||||
"de": "Ein Platz zum Abstellen von Einkaufswagen."
|
||||
}
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "covered",
|
||||
|
@ -194,32 +217,9 @@
|
|||
"id": "indoor"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a trolley bay",
|
||||
"de": "eine Einkaufswagenbucht"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=trolley_bay"
|
||||
],
|
||||
"description": {
|
||||
"en": "A trolley bay for parking shopping carts.",
|
||||
"de": "Ein Platz zum Abstellen von Einkaufswagen."
|
||||
}
|
||||
}
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/layers/trolley_bay/trolley_bay.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
"deletion": true,
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true,
|
||||
"enableRelocation": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
],
|
||||
"minzoom": 18,
|
||||
"shownByDefault": false,
|
||||
"isCounted": false,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Wall or building",
|
||||
|
@ -122,6 +121,7 @@
|
|||
"condition": "_biggest_width_id~*"
|
||||
}
|
||||
],
|
||||
"isCounted": false,
|
||||
"units": [
|
||||
{
|
||||
"width": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue