mapcomplete/assets/layers/map/map.json

295 lines
No EOL
11 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "map",
"name": {
"en": "Maps",
"nl": "Kaarten",
"it": "Mappe",
"ru": "Карты",
"fr": "Cartes",
"de": "Karten"
},
"minzoom": 12,
"source": {
"osmTags": {
"or": [
"tourism=map",
"information=map"
]
}
},
"title": {
"render": {
"en": "Map",
"nl": "Kaart",
"it": "Mappa",
"ru": "Карта",
"fr": "Carte",
"de": "Karte"
}
},
"description": {
"en": "A map, meant for tourists which is permanently installed in the public space",
"nl": "Een permantent geinstalleerde kaart",
"it": "Una mappa, destinata ai turisti e che è sistemata in maniera permanente in uno spazio pubblico",
"fr": "Une carte, destinée aux touristes, installée en permanence dans l'espace public",
"de": "Eine Karte, die für Touristen gedacht ist und dauerhaft im öffentlichen Raum aufgestellt ist"
},
"tagRenderings": [
"images",
{
"question": {
"en": "On which data is this map based?",
"nl": "Op welke data is deze kaart gebaseerd?",
"it": "Su quali dati si basa questa mappa?",
"fr": "Sur quelles données cette carte est-elle basée ?",
"de": "Auf welchen Daten basiert diese Karte?"
},
"mappings": [
{
"if": {
"and": [
"map_source=OpenStreetMap",
"not:map_source="
]
},
"then": {
"en": "This map is based on OpenStreetMap",
"nl": "Deze kaart is gebaseerd op OpenStreetMap",
"it": "Questa mappa si basa su OpenStreetMap",
"ru": "Эта карта основана на OpenStreetMap",
"fr": "Cette carte est basée sur OpenStreetMap",
"de": "Diese Karte basiert auf OpenStreetMap"
}
}
],
"freeform": {
"key": "map_source"
},
"render": {
"en": "This map is based on {map_source}",
"nl": "Deze kaart is gebaseerd op {map_source}",
"it": "Questa mappa si basa su {map_source}",
"ru": "Эта карта основана на {map_source}",
"fr": "Cette carte est basée sur {map_source}",
"de": "Diese Karte basiert auf {map_source}"
},
"id": "map-map_source"
},
{
"id": "map-attribution",
"question": {
"en": "Is the OpenStreetMap-attribution given?",
"nl": "Is de attributie voor OpenStreetMap aanwezig?",
"it": "Lattribuzione a OpenStreetMap è presente?",
"de": "Ist die OpenStreetMap-Attribution vorhanden?",
"fr": "Lattribution à OpenStreetMap est elle-présente ?"
},
"mappings": [
{
"if": {
"and": [
"map_source:attribution=yes"
]
},
"then": {
"en": "OpenStreetMap is clearly attributed, including the ODBL-license",
"nl": "De OpenStreetMap-attributie is duidelijk aangegeven, zelf met vermelding van \"ODBL\" ",
"it": "Lattribuzione a OpenStreetMap è chiaramente specificata, inclusa la licenza ODBL",
"de": "OpenStreetMap ist eindeutig attributiert, einschließlich der ODBL-Lizenz",
"fr": "Lattribution est clairement inscrite ainsi que la licence ODBL"
}
},
{
"if": {
"and": [
"map_source:attribution=incomplete"
]
},
"then": {
"en": "OpenStreetMap is clearly attributed, but the license is not mentioned",
"nl": "OpenStreetMap is duidelijk aangegeven, maar de licentievermelding ontbreekt",
"it": "Lattribuzione a OpenStreetMap è chiaramente specificata ma la licenza non compare",
"de": "OpenStreetMap ist eindeutig attributiert, aber die Lizenz wird nicht erwähnt",
"fr": "Lattribution est clairement inscrite mais la licence est absente"
}
},
{
"if": {
"and": [
"map_source:attribution=sticker"
]
},
"then": {
"en": "OpenStreetMap wasn't mentioned, but someone put an OpenStreetMap-sticker on it",
"nl": "OpenStreetMap was oorspronkelijk niet aangeduid, maar iemand plaatste er een sticker",
"it": "Non era presente alcun cenno a OpenStreetMap ma qualcuno vi ha attaccato un adesivo di OpenStreetMap",
"de": "OpenStreetMap wurde nicht erwähnt, aber jemand hat einen OpenStreetMap-Aufkleber darauf geklebt",
"fr": "OpenStreetMap nest pas mentionné, un sticker OpenStreetMap a été collé"
}
},
{
"if": {
"and": [
"map_source:attribution=none"
]
},
"then": {
"en": "There is no attribution at all",
"nl": "Er is geen attributie",
"it": "Non cè alcuna attribuzione",
"fr": "Il n'y a aucune attribution",
"de": "Es gibt überhaupt keine Namensnennung"
}
},
{
"if": {
"and": [
"map_source:attribution=no"
]
},
"then": {
"nl": "Er is geen attributie",
"en": "There is no attribution at all",
"it": "Non cè alcuna attribuzione",
"fr": "Il n'y a aucune attribution",
"de": "Es gibt überhaupt keine Namensnennung"
},
"hideInAnswer": true
}
],
"condition": {
"or": [
"map_source~(O|)pen(S|s)treet(M|m)ap",
"map_source=osm",
"map_source=OSM"
]
}
}
],
"icon": {
"render": "./assets/layers/map/map.svg",
"mappings": [
{
"if": {
"and": [
"map_source=OpenStreetMap",
"map_source:attribution=sticker"
]
},
"then": "./assets/layers/map/map-stickered.svg"
},
{
"if": {
"and": [
"map_source=OpenStreetMap",
"map_source:attribution=yes"
]
},
"then": "./assets/layers/map/osm-logo-white-bg.svg"
},
{
"if": {
"and": [
"map_source=OpenStreetMap"
]
},
"then": "./assets/layers/map/osm-logo-buggy-attr.svg"
}
]
},
"width": {
"render": "8"
},
"iconSize": {
"render": "50,50,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"tourism=map"
],
"title": {
"en": "Map",
"nl": "Kaart",
"it": "Mappa",
"ru": "Карта",
"fr": "Carte",
"de": "Karte"
},
"description": {
"en": "Add a missing map",
"nl": "Voeg een ontbrekende kaart toe",
"it": "Aggiungi una mappa mancante",
"fr": "Ajouter une carte manquante",
"de": "Fehlende Karte hinzufügen"
}
}
],
"wayHandling": 2,
"deletion": {
"softDeletionTags": {
"and": [
"razed:tourism:=information",
"tourism="
]
},
"neededChangesets": 1
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuraccy": true
},
"mapRendering": [
{
"icon": {
"render": "./assets/layers/map/map.svg",
"mappings": [
{
"if": {
"and": [
"map_source=OpenStreetMap",
"map_source:attribution=sticker"
]
},
"then": "./assets/layers/map/map-stickered.svg"
},
{
"if": {
"and": [
"map_source=OpenStreetMap",
"map_source:attribution=yes"
]
},
"then": "./assets/layers/map/osm-logo-white-bg.svg"
},
{
"if": {
"and": [
"map_source=OpenStreetMap"
]
},
"then": "./assets/layers/map/osm-logo-buggy-attr.svg"
}
]
},
"iconSize": {
"render": "50,50,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
]
}