mapcomplete/assets/layers/map/map.json

295 lines
8.3 KiB
JSON
Raw Normal View History

2020-09-19 13:37:04 +02:00
{
2021-11-07 14:37:21 +01:00
"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="
2020-09-19 13:37:04 +02:00
]
2021-11-07 14:37:21 +01:00
},
"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"
}
2020-09-19 13:37:04 +02:00
}
2021-11-07 14:37:21 +01:00
],
"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"
2020-09-19 13:37:04 +02:00
},
2021-11-07 14:37:21 +01:00
{
"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": [
2020-09-19 13:37:04 +02:00
{
2021-11-07 14:37:21 +01:00
"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"
}
2020-09-19 13:37:04 +02:00
},
{
2021-11-07 14:37:21 +01:00
"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"
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
2021-11-07 14:37:21 +01:00
"map_source:attribution=sticker"
]
2021-11-07 14:37:21 +01:00
},
"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é"
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"map_source:attribution=none"
]
2021-11-07 14:37:21 +01:00
},
"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"
}
},
{
2021-11-07 14:37:21 +01:00
"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
}
2021-11-07 14:37:21 +01:00
],
"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"
}
]
2021-11-07 14:37:21 +01:00
},
"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"
}
}
2021-11-07 14:37:21 +01:00
],
"wayHandling": 2,
"deletion": {
"softDeletionTags": {
"and": [
"razed:tourism:=information",
"tourism="
]
},
"neededChangesets": 1
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuraccy": true
2021-11-07 15:31:55 +01:00
},
"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"
}
}
]
2020-09-19 13:37:04 +02:00
}