forked from MapComplete/MapComplete
Huge refactorings of JSON-parsing and Tagsfilter, other cleanups, warning cleanups and lots of small subtle bugfixes
This commit is contained in:
parent
9a5b35b9f3
commit
a57b7d93fa
113 changed files with 1565 additions and 2594 deletions
|
@ -1,134 +1,171 @@
|
|||
{
|
||||
"id": "aed",
|
||||
"title": {
|
||||
"en": "Open AED Map",
|
||||
"fr": "Carte AED",
|
||||
"nl": "Open AED-kaart"
|
||||
},
|
||||
"maintainer": "MapComplete",
|
||||
"icon": "./assets/themes/aed/aed.svg",
|
||||
"description": {
|
||||
"en": "On this map, one can find and mark nearby defibrillators",
|
||||
"fr": "Sur cette carte, vous pouvez trouver et améliorer les informations sur les défibrillateurs",
|
||||
"nl": "Op deze kaart kan je informatie over AEDs vinden en verbeteren"
|
||||
},
|
||||
"language": [
|
||||
"en",
|
||||
"fr"
|
||||
"fr",
|
||||
"nl"
|
||||
],
|
||||
"startLat": "0",
|
||||
"startLon": "0",
|
||||
"startZoom": "12",
|
||||
"maintainer": "Pieter Vander Vennet",
|
||||
"version": "2020-08-29",
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 12,
|
||||
"layers": [
|
||||
{
|
||||
"name": "Defibrillator",
|
||||
"id": "Defibrillator",
|
||||
"name": {
|
||||
"en": "Defibrillators",
|
||||
"fr": "Défibrillateurs",
|
||||
"nl": "Defibrillatoren"
|
||||
},
|
||||
"overpassTags": "emergency=defibrillator",
|
||||
"minzoom": 12,
|
||||
"title": {
|
||||
"key": "*",
|
||||
"render": {
|
||||
"en": "Defibrillator",
|
||||
"fr": "Défibrillateur"
|
||||
"fr": "Défibrillateur",
|
||||
"nl": "Defibrillator"
|
||||
}
|
||||
},
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "./assets/themes/aed/aed.svg"
|
||||
},
|
||||
"color": {
|
||||
"render": "#0000ff",
|
||||
"key": "*"
|
||||
},
|
||||
"description": {
|
||||
"en": "A defibrillator",
|
||||
"fr": "Un défibrillateur"
|
||||
},
|
||||
"minzoom": "12",
|
||||
"icon": "./assets/themes/aed/aed.svg",
|
||||
"color": "#0000ff",
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "Defibrillator",
|
||||
"fr": "Défibrillateur"
|
||||
"fr": "Défibrillateur",
|
||||
"nl": "Defibrillator"
|
||||
},
|
||||
"tags": "emergency=defibrillator",
|
||||
"description": "A defibrillator"
|
||||
"tags": [
|
||||
"emergency=defibrillator"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"pictures",
|
||||
{
|
||||
"mappings": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Is this defibrillator located indoors?",
|
||||
"fr": "Ce défibrillateur est-il disposé en intérieur ?",
|
||||
"nl": "Hangt deze defibrillator binnen of buiten?"
|
||||
},
|
||||
"if": "indoor=yes",
|
||||
"then": {
|
||||
"en": "This defibrillator is located indoors",
|
||||
"fr": "Ce défibrillateur est en intérieur (dans un batiment)"
|
||||
},
|
||||
"if": "indoor=yes"
|
||||
"fr": "Ce défibrillateur est en intérieur (dans un batiment)",
|
||||
"nl": "Deze defibrillator bevindt zich in een gebouw"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "indoor=no",
|
||||
"then": {
|
||||
"en": "This defibrillator is located outdoors",
|
||||
"fr": "Ce défibrillateur est situé en extérieur"
|
||||
},
|
||||
"if": "indoor=no"
|
||||
"fr": "Ce défibrillateur est situé en extérieur",
|
||||
"nl": "Deze defibrillator hangt buiten"
|
||||
}
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "Is this defibrillator located indoors?",
|
||||
"fr": "Ce défibrillateur est-il disposé en intérieur ?"
|
||||
},
|
||||
"type": "text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "Is this defibrillator freely accessible?",
|
||||
"fr": "Ce défibrillateur est-il librement accessible?",
|
||||
"nl": "Is deze defibrillator vrij toegankelijk?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Access is {access}",
|
||||
"nl": "Toegankelijkheid is {access}",
|
||||
"fr": "{access} accessible"
|
||||
},
|
||||
"condition": "indoor=yes",
|
||||
"freeform": {
|
||||
"key": "access",
|
||||
"addExtraTags": "fixme=Freeform field used for access - doublecheck the value"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "access=yes",
|
||||
"then": {
|
||||
"en": "Publicly accessible",
|
||||
"fr": "Librement accessible"
|
||||
},
|
||||
"if": "access=yes"
|
||||
"fr": "Librement accessible",
|
||||
"nl": "Publiek toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "access=public",
|
||||
"then": {
|
||||
"en": "Publicly accessible",
|
||||
"fr": "Librement accessible",
|
||||
"nl": "Publiek toegankelijk"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
{
|
||||
"if": "access=customers",
|
||||
"then": {
|
||||
"en": "Only accessible to customers",
|
||||
"fr": "Réservé aux clients du lieu"
|
||||
},
|
||||
"if": "access=customers"
|
||||
"fr": "Réservé aux clients du lieu",
|
||||
"nl": "Enkel toegankeleijk voor klanten"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "access=private",
|
||||
"then": {
|
||||
"en": "Not accessible to the general public (e.g. only accesible to staff, the owners, ...)",
|
||||
"fr": "Non accessible au public (par exemple réservé au personnel, au propriétaire, ...)"
|
||||
"fr": "Non accessible au public (par exemple réservé au personnel, au propriétaire, ...)",
|
||||
"nl": "Niet toegankelijk voor het publiek (bv. enkel voor personneel, de eigenaar, ...)"
|
||||
}
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "Is this defibrillator freely accessible?",
|
||||
"fr": "Ce défibrillateur est-il librement accessible ?"
|
||||
},
|
||||
"type": "text",
|
||||
"key": "access",
|
||||
"condition": "indoor=yes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "level",
|
||||
"mappings": [],
|
||||
"question": {
|
||||
"en": "On which floor is this defibrillator located?",
|
||||
"fr": "À quel étage est situé ce défibrillateur ?"
|
||||
"fr": "À quel étage est situé ce défibrillateur?",
|
||||
"nl": "Op welke verdieping bevindt deze defibrillator zich?"
|
||||
},
|
||||
"condition": {
|
||||
"and": [
|
||||
"indoor=yes",
|
||||
"access!~private"
|
||||
]
|
||||
},
|
||||
"freeform": {
|
||||
"key": "level",
|
||||
"type": "int"
|
||||
},
|
||||
"type": "int",
|
||||
"render": {
|
||||
"en": "This defibrallator is on floor {level}",
|
||||
"fr": "Ce défibrillateur est à l'étage {level}"
|
||||
},
|
||||
"condition": "indoor=yes&access!=private"
|
||||
"fr": "Ce défibrillateur est à l'étage {level}",
|
||||
"nl": "De defibrillator bevindt zicht op verdieping {level}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "defibrillator:location",
|
||||
"mappings": [],
|
||||
"render": "{defibrillator:location}",
|
||||
"question": {
|
||||
"en": "Please give some explanation on where the defibrillator can be found",
|
||||
"fr": "Veuillez indiquez plus précisément où se situe le défibrillateur"
|
||||
"fr": "Veuillez indiquez plus précisément où se situe le défibrillateur",
|
||||
"nl": "Gelieve meer informatie te geven over de exacte locatie van de defibrillator"
|
||||
},
|
||||
"type": "text",
|
||||
"render": "{defibrillator:location}"
|
||||
"freeform": {
|
||||
"type": "text",
|
||||
"key": "defibrillator:location"
|
||||
}
|
||||
}
|
||||
],
|
||||
"overpassTags": "emergency=defibrillator"
|
||||
]
|
||||
}
|
||||
],
|
||||
"title": "Open AED Map",
|
||||
"icon": "./assets/themes/aed/aed.svg",
|
||||
"name": "aed",
|
||||
"description": {
|
||||
"en": "On this map, one can find and mark nearby defibrillators",
|
||||
"fr": "Sur cette carte, vous pouvez trouver et améliorer les informations sur les défibrillateurs"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,28 +1,34 @@
|
|||
{
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 12,
|
||||
"maintainer": "Not logged in",
|
||||
"language": [
|
||||
"en",
|
||||
"nl"
|
||||
],
|
||||
"widenFactor": 0.07,
|
||||
"name": "artworks",
|
||||
"id": "artworks",
|
||||
"version": "2020-08-30",
|
||||
"title": {
|
||||
"en": "Open Artwork Map",
|
||||
"nl": "Kunstwerkenkaart"
|
||||
},
|
||||
"icon": "./assets/themes/artwork/artwork.svg",
|
||||
"description": {
|
||||
"en": "Welcome to Open Artwork Map, a map of statues, busts, grafittis, ... all over the world",
|
||||
"nl": "Welkom op de Open Kunstwerken Kaart"
|
||||
},
|
||||
"language": [
|
||||
"en",
|
||||
"nl",
|
||||
"fr"
|
||||
],
|
||||
"icon": "./assets/themes/artwork/artwork.svg",
|
||||
"maintainer": "MapComplete",
|
||||
"startZoom": 12,
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"layers": [
|
||||
{
|
||||
"name": "Artwork",
|
||||
"id": "artwork",
|
||||
"name": {
|
||||
"en": "Artworks",
|
||||
"nl": "Kunstwerken",
|
||||
"fr": "Oeuvres d'art"
|
||||
},
|
||||
"overpassTags": "tourism=artwork",
|
||||
"title": {
|
||||
"key": "*",
|
||||
"render": {
|
||||
"en": "Artwork",
|
||||
"nl": "Kunstwerk",
|
||||
|
@ -30,165 +36,195 @@
|
|||
}
|
||||
},
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "./assets/themes/artwork/artwork.svg"
|
||||
},
|
||||
"color": {
|
||||
"key": "*",
|
||||
"render": "#0000ff"
|
||||
},
|
||||
"width": {
|
||||
"key": "*",
|
||||
"render": "10"
|
||||
},
|
||||
"description": {
|
||||
"en": "",
|
||||
"nl": ""
|
||||
"en": "Diverse pieces of artwork",
|
||||
"nl": "Verschillende soorten kunstwerken"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"wayHandling": 2,
|
||||
"presets": [
|
||||
{
|
||||
"tags": "tourism=artwork",
|
||||
"tags": [
|
||||
"tourism=artwork"
|
||||
],
|
||||
"title": {
|
||||
"en": "Artwork"
|
||||
"en": "Artwork",
|
||||
"nl": "Kunstwerk"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"pictures",
|
||||
{
|
||||
"mappings": [
|
||||
{
|
||||
"if": "artwork_type=architecture",
|
||||
"then": {
|
||||
"en": "architecture",
|
||||
"nl": "architectuur",
|
||||
"fr": "architecture"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=mural",
|
||||
"then": {
|
||||
"en": "mural",
|
||||
"nl": "muurschildering",
|
||||
"fr": "mural"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=painting",
|
||||
"then": {
|
||||
"en": "painting",
|
||||
"nl": "schilderij",
|
||||
"fr": "peinture"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=sculpture",
|
||||
"then": {
|
||||
"en": "sculpture",
|
||||
"nl": "beeldhouwwerk",
|
||||
"fr": "sculpture"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=statue",
|
||||
"then": {
|
||||
"en": "statue",
|
||||
"nl": "standbeeld",
|
||||
"fr": "statue"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=bust",
|
||||
"then": {
|
||||
"en": "bust",
|
||||
"nl": "buste",
|
||||
"fr": "buste"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=stone",
|
||||
"then": {
|
||||
"en": "stone",
|
||||
"nl": "steen",
|
||||
"fr": "rocher"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=installation",
|
||||
"then": {
|
||||
"en": "installation",
|
||||
"nl": "installatie",
|
||||
"fr": "installation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=graffiti",
|
||||
"then": {
|
||||
"en": "graffiti",
|
||||
"nl": "graffiti",
|
||||
"fr": "graffiti"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=relief",
|
||||
"then": {
|
||||
"en": "relief",
|
||||
"nl": "verlichting",
|
||||
"fr": "relief"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=azulejo",
|
||||
"then": {
|
||||
"en": "azulejo",
|
||||
"nl": "azulejo",
|
||||
"fr": "azulejo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=tilework",
|
||||
"then": {
|
||||
"en": "tilework",
|
||||
"nl": "tegelwerk",
|
||||
"fr": "carrelage"
|
||||
}
|
||||
}
|
||||
],
|
||||
"key": "artwork_type",
|
||||
"render": {
|
||||
"en": "This is a {artwork_type}",
|
||||
"nl": "Dit is een {artwork_type}",
|
||||
"fr": "{artwork_type}"
|
||||
},
|
||||
"type": "text",
|
||||
"question": {
|
||||
"en": "What is the type of this artwork?",
|
||||
"nl": "Wat voor soort kunstwerk is dit?",
|
||||
"fr": "Quel est le type de cette oeuvre d'art?"
|
||||
},
|
||||
"addExtraTags": "fixme=Artowrk type was added with the freeform, might need another check"
|
||||
"freeform": {
|
||||
"key": "artwork_type",
|
||||
"addExtraTags": "fixme=Artowrk type was added with the freeform, might need another check"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "artwork_type=architecture",
|
||||
"then": {
|
||||
"en": "Architecture",
|
||||
"nl": "Architectuur",
|
||||
"fr": "Architecture"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=mural",
|
||||
"then": {
|
||||
"en": "Mural",
|
||||
"nl": "Muurschildering",
|
||||
"fr": "Mural"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=painting",
|
||||
"then": {
|
||||
"en": "Painting",
|
||||
"nl": "Schilderij",
|
||||
"fr": "Peinture"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=sculpture",
|
||||
"then": {
|
||||
"en": "Sculpture",
|
||||
"nl": "Beeldhouwwerk",
|
||||
"fr": "Sculpture"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=statue",
|
||||
"then": {
|
||||
"en": "Statue",
|
||||
"nl": "Standbeeld",
|
||||
"fr": "Statue"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=bust",
|
||||
"then": {
|
||||
"en": "Bust",
|
||||
"nl": "Buste",
|
||||
"fr": "Buste"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=stone",
|
||||
"then": {
|
||||
"en": "Stone",
|
||||
"nl": "Steen",
|
||||
"fr": "Rocher"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=installation",
|
||||
"then": {
|
||||
"en": "Installation",
|
||||
"nl": "Installatie",
|
||||
"fr": "Installation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=graffiti",
|
||||
"then": {
|
||||
"en": "Graffiti",
|
||||
"nl": "Graffiti",
|
||||
"fr": "Graffiti"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=relief",
|
||||
"then": {
|
||||
"en": "Relief",
|
||||
"nl": "Reliëf",
|
||||
"fr": "Relief"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=azulejo",
|
||||
"then": {
|
||||
"en": "Azulejo (Spanish decorative tilework)",
|
||||
"nl": "Azulejo (Spaanse siertegels)",
|
||||
"fr": "Azulejo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "artwork_type=tilework",
|
||||
"then": {
|
||||
"en": "Tilework",
|
||||
"nl": "Tegelwerk",
|
||||
"fr": "Carrelage"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Which wikidata-entry corresponds with <b>this artwork</b>?",
|
||||
"key": "wikidata",
|
||||
"type": "wikidata",
|
||||
"render": "Corresponds with <a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'>{wikidata}</a>"
|
||||
"question": {
|
||||
"en": "Which wikidata-entry corresponds with <b>this artwork</b>?",
|
||||
"fr": "Quelle entrée wikidata correspond à <b>cette œuvre d'art</b> ?",
|
||||
"nl": "Welk wikidata-item beschrijft dit kunstwerk?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Corresponds with <a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'>{wikidata}</a>",
|
||||
"nl": "Komt overeen met <a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'>{wikidata}</a>",
|
||||
"fr": "Correspond à <a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'>{wikidata}</a>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "wikidata",
|
||||
"type": "wikidata"
|
||||
}
|
||||
},
|
||||
{
|
||||
"question": "Which artist created this?",
|
||||
"key": "artist_name",
|
||||
"render": "Created by {artist_name}",
|
||||
"condition": "wikidata="
|
||||
"question": {
|
||||
"en": "Which artist created this?",
|
||||
"nl": "Welke artist creëerde dit kunstwerk?",
|
||||
"fr": "Quel artiste a créé cela?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Created by {artist_name}",
|
||||
"nl": "Gecreëerd door {artist_name}",
|
||||
"fr": "Créé par {artist_name}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "artist_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"question": "On which website is more information about this artwork?",
|
||||
"key": "website",
|
||||
"type": "url",
|
||||
"render": "More information on {website}"
|
||||
"question": {
|
||||
"en": "On which website is more information about this artwork?",
|
||||
"nl": "Op welke website kan men meer informatie vinden over dit kunstwerk?",
|
||||
"fr": "Sur quel site web pouvons-nous trouver plus d'informations sur cette œuvre d'art?"
|
||||
},
|
||||
"render": {
|
||||
"en": "More information on <a href='{website}' target='_blank'>this website</a>",
|
||||
"nl": "Meer informatie op <a href='{website}' target='_blank'>deze website</a>",
|
||||
"fr": "Plus d'info <a href='{website}' target='_blank'>sûr ce site web</a>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "website",
|
||||
"type": "url"
|
||||
}
|
||||
}
|
||||
],
|
||||
"overpassTags": "tourism=artwork"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,99 +1,122 @@
|
|||
{
|
||||
"name": "bookcases",
|
||||
"title": {
|
||||
"en": "Open Bookcase Map",
|
||||
"nl": "Open Boekenruilkastenkaart"
|
||||
},
|
||||
"maintainer": "Pieter Vander Vennet",
|
||||
"icon": "./assets/themes/bookcases/bookcase.svg",
|
||||
"description": {
|
||||
"en": "A public bookcase is a small streetside cabinet, box, old phone boot or some other objects where books are stored. Everyone can place or take a book. This map aims to collect all these bookcases. You can discover new bookcases nearby and, with a free OpenStreetMap account, quickly add your favourite bookcases.",
|
||||
"nl": "Een boekenruilkast is een kastje waar iedereen een boek kan nemen of achterlaten. Op deze kaart kan je deze boekenruilkasten terugvinden en met een gratis OpenStreetMap-account, ook boekenruilkasten toevoegen of informatie verbeteren"
|
||||
},
|
||||
"widenFactor": 0.05,
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 10,
|
||||
"id": "bookcases",
|
||||
"maintainer": "MapComplete",
|
||||
"version": "2020-08-29",
|
||||
"language": [
|
||||
"en",
|
||||
"nl"
|
||||
],
|
||||
"title": {
|
||||
"en": "Open Bookcase Map",
|
||||
"nl": "Open Boekenruilkastenkaart"
|
||||
},
|
||||
"description": {
|
||||
"en": "A public bookcase is a small streetside cabinet, box, old phone boot or some other objects where books are stored. Everyone can place or take a book. This map aims to collect all these bookcases. You can discover new bookcases nearby and, with a free OpenStreetMap account, quickly add your favourite bookcases.",
|
||||
"nl": "Een boekenruilkast is een kastje waar iedereen een boek kan nemen of achterlaten. Op deze kaart kan je deze boekenruilkasten terugvinden en met een gratis OpenStreetMap-account, ook boekenruilkasten toevoegen of informatie verbeteren"
|
||||
},
|
||||
"icon": "./assets/themes/bookcases/bookcase.svg",
|
||||
"socialImage": null,
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 10,
|
||||
"widenFactor": 0.05,
|
||||
"roamingRenderings": [],
|
||||
"layers": [
|
||||
{
|
||||
"name": "Bookcases",
|
||||
"id": "bookcases",
|
||||
"name": {
|
||||
"en": "Bookcases",
|
||||
"nl": "Boekenruilkastjes"
|
||||
},
|
||||
"description": {
|
||||
"en": "A streetside cabinet with books, accessible to anyone",
|
||||
"nl": "Een straatkastje met boeken voor iedereen"
|
||||
},
|
||||
"overpassTags": "amenity=public_bookcase",
|
||||
"minzoom": 12,
|
||||
"title": {
|
||||
"key": "*",
|
||||
"render": {
|
||||
"en": "Bookcase",
|
||||
"nl": "Boekenruilkast"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name=*",
|
||||
"then": "{name}"
|
||||
"if": "name~*",
|
||||
"then": {
|
||||
"en": "Public bookcase <i>{name}</i>",
|
||||
"nl": "Boekenruilkast <i>{name}</i>"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "./assets/themes/bookcases/bookcase.svg",
|
||||
"mappings": []
|
||||
"render": "./assets/themes/bookcases/bookcase.svg"
|
||||
},
|
||||
"color": {
|
||||
"key": "*",
|
||||
"render": "#0000ff"
|
||||
},
|
||||
"description": {
|
||||
"en": "A streetside cabinet with books, accessible to anyone",
|
||||
"nl": "Een straatkastje met boeken voor iedereen"
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"minzoom": "12",
|
||||
"overpassTags": "amenity=public_bookcase",
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "Bookcase",
|
||||
"nl": "Boekenruilkast"
|
||||
},
|
||||
"tags": "amenity=public_bookcase"
|
||||
"tags": [
|
||||
"amenity=public_bookcase"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"key": "name",
|
||||
"mappings": [
|
||||
{
|
||||
"then": {
|
||||
"en": "This bookcase doesn't have a name",
|
||||
"nl": "Dit boekenruilkastje heeft geen naam"
|
||||
},
|
||||
"if": "noname=yes&name="
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "What is the name of this public bookcase?",
|
||||
"nl": "Wat is de naam van dit boekenuilkastje?"
|
||||
},
|
||||
"render": {
|
||||
"en": "The name of this bookcase is {name}",
|
||||
"nl": "De naam van dit boekenruilkastje is {name}"
|
||||
},
|
||||
"type": "text"
|
||||
"question": {
|
||||
"en": "What is the name of this public bookcase?",
|
||||
"nl": "Wat is de naam van dit boekenuilkastje?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"noname=yes",
|
||||
"name="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "This bookcase doesn't have a name",
|
||||
"nl": "Dit boekenruilkastje heeft geen naam"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "capacity",
|
||||
"mappings": [],
|
||||
"question": {
|
||||
"en": "How many books fit into this public bookcase?",
|
||||
"nl": "Hoeveel boeken passen er in dit boekenruilkastje?"
|
||||
},
|
||||
"render": {
|
||||
"en": "{capacity} books fit in this bookcase",
|
||||
"nl": "Er passen {capacity} boeken"
|
||||
},
|
||||
"type": "nat"
|
||||
"question": {
|
||||
"en": "How many books fit into this public bookcase?",
|
||||
"nl": "Hoeveel boeken passen er in dit boekenruilkastje?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "capacity",
|
||||
"type": "nat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "What kind of books can be found in this public bookcase?",
|
||||
"nl": "Voor welke doelgroep zijn de meeste boeken in dit boekenruilkastje?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "books=children",
|
||||
|
@ -116,15 +139,13 @@
|
|||
"nl": "Boeken voor zowel kinderen als volwassenen"
|
||||
}
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "What kind of books can be found in this public bookcase?",
|
||||
"nl": "Voor welke doelgroep zijn de meeste boeken in dit boekenruilkastje?"
|
||||
},
|
||||
"type": "text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"addExtraTags": "",
|
||||
"question": {
|
||||
"en": "Is this bookcase located outdoors?",
|
||||
"nl": "Staat dit boekenruilkastje binnen of buiten?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"then": {
|
||||
|
@ -145,16 +166,17 @@
|
|||
"en": "This bookcase is located outdoors",
|
||||
"nl": "Dit boekenruilkastje staat buiten"
|
||||
},
|
||||
"if": "indoor="
|
||||
"if": "indoor=",
|
||||
"hideInAnswers": true
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "Is this bookcase located outdoors?",
|
||||
"nl": "Staat dit boekenruilkastje binnen of buiten?"
|
||||
},
|
||||
"type": "text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "Is this public bookcase freely accessible?",
|
||||
"nl": "Is dit boekenruilkastje publiek toegankelijk?"
|
||||
},
|
||||
"condition": "indoor=yes",
|
||||
"mappings": [
|
||||
{
|
||||
"then": {
|
||||
|
@ -170,29 +192,35 @@
|
|||
},
|
||||
"if": "access=customers"
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "Is this public bookcase freely accessible?",
|
||||
"nl": "Is dit boekenruilkastje publiek toegankelijk?"
|
||||
},
|
||||
"type": "text",
|
||||
"condition": "indoor=yes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "operator",
|
||||
"mappings": [],
|
||||
"question": {
|
||||
"en": "Who maintains this public bookcase?",
|
||||
"nl": "Wie is verantwoordelijk voor dit boekenruilkastje?"
|
||||
},
|
||||
"type": "text",
|
||||
"render": {
|
||||
"en": "Operated by {operator}",
|
||||
"nl": "Onderhouden door {operator}"
|
||||
},
|
||||
"freeform": {
|
||||
"type": "text",
|
||||
"key": "operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "brand",
|
||||
"question": {
|
||||
"en": "Is this public bookcase part of a bigger network?",
|
||||
"nl": "Is dit boekenruilkastje deel van een netwerk?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This public bookcase is part of {brand}",
|
||||
"nl": "Dit boekenruilkastje is deel van het netwerk {brand}"
|
||||
},
|
||||
"condition": "ref=",
|
||||
"freeform": {
|
||||
"key": "brand"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"then": {
|
||||
|
@ -202,68 +230,72 @@
|
|||
"if": "brand=Little Free Library"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"nobrand=yes",
|
||||
"brand="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "This public bookcase is not part of a bigger network",
|
||||
"nl": "Dit boekenruilkastje maakt geen deel uit van een netwerk"
|
||||
},
|
||||
"if": "nobrand=yes&brand="
|
||||
}
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "Is this public bookcase part of a bigger network?",
|
||||
"nl": "Is dit boekenruilkastje deel van een netwerk?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This public bookcase is part of {brand}",
|
||||
"nl": "Dit boekenruilkastje is deel van het netwerk {brand}"
|
||||
},
|
||||
"type": "text",
|
||||
"condition": "ref="
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "ref",
|
||||
"render": {
|
||||
"en": "The reference number of this public bookcase within {brand} is {ref}",
|
||||
"nl": "Het referentienummer binnen {brand} is {ref}"
|
||||
},
|
||||
"question": {
|
||||
"en": "What is the reference number of this public bookcase?",
|
||||
"nl": "Wat is het referentienummer van dit boekenruilkastje?"
|
||||
},
|
||||
"condition": "brand=*",
|
||||
"freeform": {
|
||||
"key": "ref"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"then": {
|
||||
"en": "This bookcase is not part of a bigger network",
|
||||
"nl": "Dit boekenruilkastje maakt geen deel uit van een netwerk"
|
||||
},
|
||||
"if": "nobrand=yes&brand=&ref="
|
||||
"if": {
|
||||
"and": [
|
||||
"nobrand=yes",
|
||||
"brand=",
|
||||
"ref="
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "What is the reference number of this public bookcase?",
|
||||
"nl": "Wat is het referentienummer van dit boekenruilkastje?"
|
||||
},
|
||||
"type": "text",
|
||||
"render": {
|
||||
"en": "The reference number of this public bookcase within {brand} is {ref}",
|
||||
"nl": "Het referentienummer binnen {brand} is {ref}"
|
||||
},
|
||||
"condition": "brand=*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "start_date",
|
||||
"mappings": [],
|
||||
"question": {
|
||||
"en": "When was this public bookcase installed?",
|
||||
"nl": "Op welke dag werd dit boekenruilkastje geinstalleerd?"
|
||||
},
|
||||
"type": "date",
|
||||
"render": {
|
||||
"en": "Installed on {start_date}",
|
||||
"nl": "Geplaatst op {start_date}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "start_date",
|
||||
"type": "date"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "website",
|
||||
"mappings": [],
|
||||
"type": "url",
|
||||
"render": "Meer info op <a href='{website}' target='_blank'>de website</a>",
|
||||
"question": {
|
||||
"en": "Is there a website with more information about this public bookcase?",
|
||||
"nl": "Is er een website over dit boekenruilkastje?"
|
||||
},
|
||||
"render": "{website}"
|
||||
"freeform": {
|
||||
"key": "website",
|
||||
"type": "url"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
2
assets/themes/buurtnatuur/buurtnatuur.be.json
Normal file
2
assets/themes/buurtnatuur/buurtnatuur.be.json
Normal file
|
@ -0,0 +1,2 @@
|
|||
{
|
||||
}
|
|
@ -1,90 +1,93 @@
|
|||
{
|
||||
"layers": [
|
||||
"id": "fietsstraten",
|
||||
"version": "2020-08-30",
|
||||
"title": "Fietsstraten",
|
||||
"description": "Een fietsstraat is een straat waar <b>automobilisten geen fietsers mogen inhalen</b> en waar een maximumsnelheid van <b>30km/u</b> geldt.<br/><br/>Op deze open kaart kan je alle gekende fietsstraten zien en kan je ontbrekende fietsstraten aanduiden. Om de kaart aan te passen, moet je je aanmelden met OpenStreetMap en helemaal inzoomen tot straatniveau.",
|
||||
"icon": "./assets/themes/cyclestreets/F111.svg",
|
||||
"language": "nl",
|
||||
"startLat": 51.2095,
|
||||
"startZoom": 14,
|
||||
"startLon": 3.2228,
|
||||
"maintainer": "MapComlete",
|
||||
"widenfactor": 0.05,
|
||||
"roamingRenderings": [
|
||||
{
|
||||
"id": "Fietsstraat",
|
||||
"title": {
|
||||
"render": "{name}",
|
||||
"key": "*"
|
||||
},
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "./assets/themes/cyclestreets/F111.svg"
|
||||
},
|
||||
"color": {
|
||||
"key": "*",
|
||||
"render": "#0000ff"
|
||||
},
|
||||
"description": "Een fietsstraat is een straat waar gemotoriseerd verkeer een fietser niet mag inhalen.",
|
||||
"minzoom": 9,
|
||||
"presets": [],
|
||||
"tagRenderings": [],
|
||||
"overpassTags": "cyclestreet=yes",
|
||||
"width": {
|
||||
"key": "*",
|
||||
"addExtraTags": "",
|
||||
"mappings": [],
|
||||
"question": "",
|
||||
"render": "10",
|
||||
"type": "nat"
|
||||
},
|
||||
"name": "Fietsstraat"
|
||||
"question": "Is deze straat een fietsstraat?",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "Deze straat is een fietsstraat",
|
||||
"if": "cyclestreet=yes&proposed:cyclestreet!~*"
|
||||
},
|
||||
{
|
||||
"then": "Deze straat wordt binnenkort een fietsstraat",
|
||||
"if": "proposed:cyclestreet=yes&cyclestreet!~*"
|
||||
},
|
||||
{
|
||||
"if": "cyclestreet!~*&proposed:cyclestreet!~*",
|
||||
"then": "Deze straat is geen fietsstraat"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "",
|
||||
"question": "Wanneer wordt deze straat een fietsstraat?",
|
||||
"render": "Deze straat wordt fietsstraat op {cyclestreet:start_date}",
|
||||
"freeform": {
|
||||
"type": "date",
|
||||
"key": "cyclestreet:start_date"
|
||||
}
|
||||
}
|
||||
],
|
||||
"layers": [
|
||||
{
|
||||
"id": "fietsstraat",
|
||||
"name": "Fietsstraten",
|
||||
"minzoom": 9,
|
||||
"overpassTags": "cyclestreet=yes",
|
||||
"description": "Een fietsstraat is een straat waar gemotoriseerd verkeer een fietser niet mag inhalen.",
|
||||
"title": "{name}",
|
||||
"icon": "./assets/themes/cyclestreets/F111.svg",
|
||||
"color": "#0000ff",
|
||||
"width": "10"
|
||||
},
|
||||
{
|
||||
"id": "toekomstige_fietsstraat",
|
||||
"name": "Toekomstige fietsstraat",
|
||||
"description": "Deze straat wordt binnenkort een fietsstraat",
|
||||
"minzoom": 9,
|
||||
"wayHandling": 0,
|
||||
"overpassTags": "proposed:cyclestreet=yes",
|
||||
"title": {
|
||||
"key": "*",
|
||||
"render": "Toekomstige fietsstraat",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "{name} wordt fietsstraat",
|
||||
"if": "name=*"
|
||||
"if": "name~*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "https://upload.wikimedia.org/wikipedia/commons/6/65/Belgian_road_sign_F113.svg"
|
||||
},
|
||||
"color": {
|
||||
"key": "*",
|
||||
"render": "#09f9dd"
|
||||
},
|
||||
"width": {
|
||||
"key": "*",
|
||||
"render": "5"
|
||||
},
|
||||
"description": "Deze straat wordt binnenkort een fietsstraat",
|
||||
"minzoom": "9",
|
||||
"wayHandling": 0,
|
||||
"presets": [],
|
||||
"tagRenderings": [{
|
||||
"key": "cyclestreet:start_date",
|
||||
"render": "Deze straat wordt fietsstraat op {cyclestreet:start_date}",
|
||||
"type": "date",
|
||||
"question": "Wanneer wordt deze straat een fietsstraat?"
|
||||
}],
|
||||
"name": "Toekomstige fietsstraat",
|
||||
"overpassTags": "proposed:cyclestreet=yes"
|
||||
"icon": "./assets/themes/cyclestreets/F113.svg",
|
||||
"color": "#09f9dd",
|
||||
"width": "5"
|
||||
},
|
||||
|
||||
{
|
||||
"id": "all_streets",
|
||||
"name": "Alle straten",
|
||||
"description": "Laag waar je een straat als fietsstraat kan markeren",
|
||||
"overpassTags": "highway~residential|tertiary|unclassified",
|
||||
"minzoom": "18",
|
||||
"wayHandling": 0,
|
||||
"title": {
|
||||
"key": "*",
|
||||
"render": "Straat",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "{name}",
|
||||
"if": "name=*"
|
||||
"if": "name~*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "./assets/pencil.svg"
|
||||
},
|
||||
"icon": "./assets/pencil.svg",
|
||||
"width": "5",
|
||||
"color": {
|
||||
"key": "*",
|
||||
"render": "#aaaaaa",
|
||||
"mappings": [
|
||||
{
|
||||
|
@ -96,53 +99,7 @@
|
|||
"if": "proposed:cyclestreet=yes"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"key": "*",
|
||||
"render": "5"
|
||||
},
|
||||
"description": "Laag waar je een straat als fietsstraat kan markeren",
|
||||
"wayHandling": 0,
|
||||
"presets": [],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"mappings": [
|
||||
{
|
||||
"then": "Deze straat is een fietsstraat",
|
||||
"if": "cyclestreet=yes&proposed:cyclestreet="
|
||||
},
|
||||
{
|
||||
"then": "Deze straat wordt binnenkort een fietsstraat",
|
||||
"if": "proposed:cyclestreet=yes&cyclestreet="
|
||||
},
|
||||
{
|
||||
"if": "cyclestreet=&proposed:cyclestreet=",
|
||||
"then": "Deze straat is geen fietsstraat"
|
||||
}
|
||||
],
|
||||
"type": "text",
|
||||
"question": "Is deze straat een fietsstraat?"
|
||||
},
|
||||
{
|
||||
"key": "cyclestreet:start_date",
|
||||
"render": "Deze straat wordt fietsstraat op {cyclestreet:start_date}",
|
||||
"type": "date",
|
||||
"question": "Wanneer wordt deze straat een fietsstraat?",
|
||||
"condition": "proposed:cyclestreet=yes"
|
||||
}
|
||||
],
|
||||
"overpassTags": "highway~=residential|tertiary|unclassified",
|
||||
"minzoom": "18"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "nl",
|
||||
"startLat": "51.2095",
|
||||
"startZoom": "14",
|
||||
"maintainer": "Not logged in",
|
||||
"name": "Fietsstraten",
|
||||
"title": "Fietsstraten",
|
||||
"startLon": "3.2228",
|
||||
"icon": "./assets/themes/cyclestreets/F111.svg",
|
||||
"description": "Een fietsstraat is een straat waar <b>automobilisten geen fietsers mogen inhalen</b> en waar een maximumsnelheid van <b>30km/u</b> geldt.<br/><br/>Op deze open kaart kan je alle gekende fietsstraten zien en kan je ontbrekende fietsstraten aanduiden. Om de kaart aan te passen, moet je je aanmelden met OpenStreetMap en helemaal inzoomen tot straatniveau.",
|
||||
"widenfactor": 0.05
|
||||
]
|
||||
}
|
|
@ -1,120 +0,0 @@
|
|||
{
|
||||
"layers": [
|
||||
{
|
||||
"id": "Superficie",
|
||||
"title": {
|
||||
"render": "Calle sin nombre",
|
||||
"key": "*",
|
||||
"type": "text",
|
||||
"question": "¿Cómo se llama esta calle?",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name=*",
|
||||
"then": "Nombre de la calle: {name}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "Completar datos de superficie",
|
||||
"minzoom": "16",
|
||||
"overpassTags": "highway=/residential|tertiary|pedestrian|unclassified|secondary|primary/",
|
||||
"presets": [],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"key": "surface",
|
||||
"addExtraTags": "",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "surface=asphalt",
|
||||
"then": "asfalto"
|
||||
},
|
||||
{
|
||||
"then": "cemento",
|
||||
"if": "surface=concrete"
|
||||
},
|
||||
{
|
||||
"then": "pavimentado",
|
||||
"if": "surface=paved"
|
||||
},
|
||||
{
|
||||
"then": "sin pavimentar",
|
||||
"if": "surface=unpaved"
|
||||
}
|
||||
],
|
||||
"question": "Qué superficie tiene?",
|
||||
"render": "Surface: {surface}",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"wayHandling": "0",
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"addExtraTags": "",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_P26.png",
|
||||
"if": "surface=asphalt"
|
||||
}
|
||||
],
|
||||
"question": "",
|
||||
"render": "https://github.com/yopaseopor/beta_preset_josm/raw/master/ES/traffic_signs/ES/ES_P25.png",
|
||||
"type": "text"
|
||||
},
|
||||
"color": {
|
||||
"key": "*",
|
||||
"addExtraTags": "",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "#000",
|
||||
"if": "surface=asphalt"
|
||||
},
|
||||
{
|
||||
"then": "#ccc",
|
||||
"if": "surface=concrete"
|
||||
},
|
||||
{
|
||||
"then": "#f3f",
|
||||
"if": "surface=paving_stones"
|
||||
},
|
||||
{
|
||||
"then": "#b5721b",
|
||||
"if": "surface=sett"
|
||||
}
|
||||
],
|
||||
"question": "",
|
||||
"render": "#00f",
|
||||
"type": "text"
|
||||
},
|
||||
"width": {
|
||||
"key": "*",
|
||||
"addExtraTags": "",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "12",
|
||||
"if": "highway=tertiary"
|
||||
},
|
||||
{
|
||||
"then": "15",
|
||||
"if": "highway=secondary"
|
||||
},
|
||||
{
|
||||
"then": "18",
|
||||
"if": "highway=primary"
|
||||
}
|
||||
],
|
||||
"question": "",
|
||||
"render": "6",
|
||||
"type": "nat"
|
||||
}
|
||||
}
|
||||
],
|
||||
"startLat": "41.39767",
|
||||
"startLon": "2.17614",
|
||||
"startZoom": "16",
|
||||
"maintainer": "Pieter Vander Vennet",
|
||||
"language": "es",
|
||||
"icon": "https://github.com/yopaseopor/beta_preset_josm/raw/master/ES/traffic_signs/ES/ES_P28.png",
|
||||
"name": "Superficie",
|
||||
"title": "Test completar superficie",
|
||||
"description": "Completar datos de superficie",
|
||||
"widenFactor": "0.01"
|
||||
}
|
|
@ -1,67 +1,84 @@
|
|||
{
|
||||
"id": "toilets",
|
||||
"title": "Open Toilet Map",
|
||||
"description": "A map of public toilets",
|
||||
"maintainer": "MapComplete",
|
||||
"version": "2020-08-29",
|
||||
"language": [
|
||||
"en"
|
||||
],
|
||||
"startZoom": 12,
|
||||
"startLat": 51.2095,
|
||||
"startLon": 3.2222,
|
||||
"widenFactor": 0.05,
|
||||
"icon": "./assets/themes/toilets/toilets.svg",
|
||||
"layers": [
|
||||
{
|
||||
"name": "Toilet",
|
||||
"title": {
|
||||
"key": "*",
|
||||
"render": "Toilet"
|
||||
},
|
||||
"id": "Toilet",
|
||||
"name": "Toilets",
|
||||
"overpassTags": "amenity=toilets",
|
||||
"title": "Toilet",
|
||||
"icon": {
|
||||
"key": "*",
|
||||
"render": "./assets/themes/toilets/toilets.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "./assets/themes/toilets/wheelchair.svg",
|
||||
"if": "wheelchair=yes"
|
||||
"if": "wheelchair=yes",
|
||||
"then": "./assets/themes/toilets/wheelchair.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"key": "*",
|
||||
"render": "#0000ff"
|
||||
},
|
||||
"description": "A toilet",
|
||||
"minzoom": "14",
|
||||
"minzoom": 12,
|
||||
"wayHandling": 2,
|
||||
"presets": [
|
||||
{
|
||||
"title": "Toilet",
|
||||
"tags": "amenity=toilets",
|
||||
"description": "Only add public toilets"
|
||||
"tags": [
|
||||
"amenity=toilets"
|
||||
],
|
||||
"description": "A publicly accessible toilet or restroom"
|
||||
},
|
||||
{
|
||||
"title": "Toilets with wheelchair accessible toilet",
|
||||
"tags": "amenity=toilets&wheelchair=yes",
|
||||
"tags": [
|
||||
"amenity=toilets",
|
||||
"wheelchair=yes"
|
||||
],
|
||||
"description": "A restroom which has at least one wheelchair-accessible toilet"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"pictures",
|
||||
{
|
||||
"key": "access",
|
||||
"question": "Are these toilets publicly accessible?",
|
||||
"render": "Access is {access}",
|
||||
"freeform": {
|
||||
"key": "access",
|
||||
"addExtraTags": "fixme=the tag access was filled out by the user and might need refinement"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"then": "Public access",
|
||||
"if": "access=yes"
|
||||
"if": "access=yes",
|
||||
"then": "Public access"
|
||||
},
|
||||
{
|
||||
"then": "Only access to customers",
|
||||
"if": "access=customers"
|
||||
"if": "access=customers",
|
||||
"then": "Only access to customers"
|
||||
},
|
||||
{
|
||||
"if": "access=no",
|
||||
"then": "Not accessible"
|
||||
},
|
||||
{
|
||||
"then": "Accessible, but one has to ask a key to enter",
|
||||
"if": "access=key"
|
||||
"if": "access=key",
|
||||
"then": "Accessible, but one has to ask a key to enter"
|
||||
}
|
||||
],
|
||||
"question": "Are these toilets publicly accessible?",
|
||||
"type": "text",
|
||||
"addExtraTags": "fixme=the tag access was filled out by the user and might need refinement",
|
||||
"render": "Access is {access}"
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Are these toilets free to use?",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "These are paid toilets",
|
||||
|
@ -71,19 +88,19 @@
|
|||
"if": "fee=no",
|
||||
"then": "Free to use"
|
||||
}
|
||||
],
|
||||
"type": "text",
|
||||
"question": "Are these toilets free to use?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "charge",
|
||||
"mappings": [],
|
||||
"question": "How much does one have to pay for these toilets?",
|
||||
"type": "string",
|
||||
"render": "The fee is {charge}",
|
||||
"condition": "fee=yes"
|
||||
"condition": "fee=yes",
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"question": "Is there a dedicated toilet for wheelchair users",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "There is a dedicated toilet for wheelchair users",
|
||||
|
@ -93,11 +110,10 @@
|
|||
"if": "wheelchair=no",
|
||||
"then": "No wheelchair access"
|
||||
}
|
||||
],
|
||||
"type": "text",
|
||||
"question": "Is there a dedicated toilet for wheelchair users"
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Which kind of toilets are this?",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "toilets:position=seated",
|
||||
|
@ -115,11 +131,10 @@
|
|||
"if": "toilets:position=seated;urinals",
|
||||
"then": "Both seated toilets and urinals are available here"
|
||||
}
|
||||
],
|
||||
"question": "Which kind of toilets are this?",
|
||||
"type": "text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": "Is a changing table (to change diapers) available?",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "A changing table is available",
|
||||
|
@ -129,12 +144,15 @@
|
|||
"if": "changing_table=no",
|
||||
"then": "No changing table is available"
|
||||
}
|
||||
],
|
||||
"question": "Is a changing table (to change diapers) available?",
|
||||
"type": "text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "changing_table:location",
|
||||
"question": "Where is the changing table located?",
|
||||
"render": "The changing table is located at {changing_table:location}",
|
||||
"condition": "changing_table=yes",
|
||||
"freeform": {
|
||||
"key": "changing_table:location"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"then": "The changing table is in the toilet for women. ",
|
||||
|
@ -152,24 +170,9 @@
|
|||
"if": "changing_table:location=dedicated_room",
|
||||
"then": "The changing table is in a dedicated room. "
|
||||
}
|
||||
],
|
||||
"type": "text",
|
||||
"question": "Where is the changing table located?",
|
||||
"condition": "changing_table=yes",
|
||||
"render": "The changing table is located at {changing_table:location}"
|
||||
]
|
||||
}
|
||||
],
|
||||
"overpassTags": "amenity=toilets"
|
||||
]
|
||||
}
|
||||
],
|
||||
"startLat": "51.2095",
|
||||
"startZoom": "12",
|
||||
"maintainer": "Pieter Vander Vennet",
|
||||
"title": "Open Toilet Map",
|
||||
"startLon": "3.2222",
|
||||
"widenFactor": 0.05,
|
||||
"icon": "./assets/themes/toilets/toilets.svg",
|
||||
"description": "A map of public toilets",
|
||||
"language": ["en"],
|
||||
"name": "toilets"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue