mapcomplete/assets/themes/ghostsigns/ghostsigns.json

283 lines
8.5 KiB
JSON

{
"id": "ghostsigns",
"title": {
"en": "Ghost Signs",
"de": "Geisterzeichen",
"es": "Señales fantasma"
},
"description": {
"en": "A map showing disused signs on buildings",
"de": "Eine Karte, die ungenutzte Zeichen auf Gebäuden zeigt",
"es": "Un mapa que muestra los rótulos en desuso de los edificios"
},
"icon": "./assets/themes/advertising/wall_painting.svg",
"layers": [
{
"id": "ghostsigns",
"title": {
"render": {
"en": "Ghost Sign",
"de": "Geisterzeichen",
"es": "Publicidad en una fachada"
}
},
"description": {
"en": "Layer showing disused signs on buildings",
"de": "Ebene, die ungenutzte Zeichen auf Gebäuden zeigt",
"es": "Capa que muestra carteles en desuso en edificios"
},
"name": {
"en": "Ghost Signs",
"de": "Geisterzeichen",
"es": "Señales fantasma"
},
"source": {
"osmTags": {
"and": [
"historic~*",
"advertising=wall_painting"
]
}
},
"minzoom": 10,
"#allowMove": "Normally, a ghost sign is snapped to a wall, so moving won't be possible in most cases",
"allowMove": false,
"tagRenderings": [
{
"id": "historic",
"question": {
"en": "Is this a ghost sign?",
"de": "Ist das ein Geisterzeichen?",
"es": "¿Es esto una señal fantasma?"
},
"questionHint": {
"en": "Is this sign for a business that no longer exists or no longer being maintained?",
"de": "Ist dieses Schild für ein Geschäft, das nicht mehr existiert oder nicht mehr gepflegt wird?",
"es": "¿Este cartel es para una empresa que ya no existe o que ya no recibe mantenimiento?"
},
"mappings": [
{
"if": "historic=advertising",
"then": {
"en": "This is a ghost sign",
"de": "Das ist ein Geisterzeichen",
"es": "Esta es una señal fantasma"
},
"alsoShowIf": "historic=yes"
},
{
"if": "historic=",
"then": {
"en": "This is not a ghost sign, answering this will hide the sign from the map",
"de": "Dies ist kein Geisterzeichen, die Antwort darauf wird das Schild von der Karte verstecken",
"es": "Esta no es una señal fantasma, al responder esto se ocultará la señal del mapa"
}
}
]
},
"images",
{
"id": "name",
"condition": "name~*",
"render": {
"*": "{name}"
}
},
{
"id": "inscription",
"question": {
"en": "What is the text on the sign?",
"de": "Was ist der Text auf dem Schild?",
"es": "¿Cuál es el texto del cartel?"
},
"freeform": {
"key": "inscription",
"type": "text",
"placeholder": {
"en": "Text on the sign",
"de": "Text auf dem Schild",
"es": "Texto en el cartel"
}
},
"render": {
"en": "The text on the sign is: {inscription}",
"de": "Der Text auf dem Schild ist: {inscription}",
"es": "El texto del cartel es: {inscription}"
}
},
{
"id": "brand",
"question": {
"en": "For what business was this sign made?",
"de": "Für welches Unternehmen wurde dieses Schild angefertigt?",
"es": "¿Para qué negocio se hizo este cartel?"
},
"freeform": {
"key": "brand",
"type": "string",
"placeholder": {
"en": "Business name",
"de": "Unternehmensname",
"es": "Nombre comercial",
"it": "Nome dell'attività"
}
},
"render": {
"en": "This sign was made for: {brand}",
"de": "Dieses Schild wurde gemacht für: {brand}",
"es": "Este cartel se hizo para: {brand}"
}
}
],
"lineRendering": [
{
"color": "blue",
"width": 2
}
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "./assets/themes/advertising/wall_painting.svg"
}
]
}
],
"presets": [
{
"tags": [
"historic=advertising",
"advertising=wall_painting"
],
"title": {
"en": "a ghost sign",
"de": "ein Geisterzeichen",
"es": "una señal fantasma"
},
"snapToLayer": [
"walls_and_buildings"
],
"maxSnapDistance": 5
}
]
},
{
"builtin": "advertising",
"override": {
"source": {
"osmTags": "advertising=wall_painting"
},
"id": "advertising_wall_paintings",
"minzoom": 18,
"name": {
"en": "All advertentie wall paintings",
"nl": "Alle adverterende muurschilderingen",
"de": "Alle Werbe-Wandbilder",
"es": "Todos los murales promocionales"
},
"+tagRenderings": [
{
"id": "historic",
"question": {
"en": "Is this a ghost sign?",
"de": "Ist das ein Geisterzeichen?",
"es": "¿Es una señal fantasma?"
},
"questionHint": {
"en": "Is this sign for a business that no longer exists or no longer being maintained?",
"de": "Ist dieses Schild für ein Geschäft, das nicht mehr existiert oder nicht mehr gepflegt wird?",
"es": "¿Es este rótulo de un negocio que ya no existe o que ya no se mantiene?"
},
"mappings": [
{
"if": "historic=advertising",
"then": {
"en": "This is a ghost sign",
"de": "Das ist ein Geisterzeichen",
"es": "Esta es una señal fantasma"
},
"alsoShowIf": "historic=yes"
},
{
"if": "historic=",
"then": {
"en": "This is not a ghost sign",
"de": "Das ist kein Geisterzeichen",
"es": "Esta no es una señal fantasma"
}
}
]
}
],
"=presets": [],
"pointRendering": [
{
"iconSize": "20,20"
}
],
"isCounted": false
}
},
{
"builtin": "artwork",
"override": {
"minzoom": 16,
"presets=": null,
"id": "artwork_on_wall",
"+tagRenderings": [
{
"id": "historic_or_not",
"question": {
"en": "Is this artwork a historic advertisement?",
"de": "Ist dieses Kunstwerk eine historische Werbung?",
"es": "¿Es esta obra de arte un anuncio histórico?"
},
"mappings": [
{
"if": "historic=advertising",
"addExtraTags": [
"advertising=wall_painting"
],
"then": {
"en": "This artwork is a historic advertisement",
"de": "Dieses Kunstwerk ist eine historische Werbung",
"es": "Esta obra de arte es un anuncio histórico"
}
},
{
"if": "historic=",
"addExtraTags": [
"advertising="
],
"then": {
"en": "This artwork is not a historic advertisement",
"de": "Dieses Kunstwerk ist keine historische Werbung",
"es": "Esta obra de arte no es un anuncio histórico"
}
}
]
}
],
"source": {
"osmTags": {
"and+": {
"or": [
"artwork_type=mural",
"artwork_type=graffiti",
"artwork_type=mosaic",
"artwork_type=relief",
"artwork_type=painting",
"artwork_type=mural_painting"
]
}
}
}
}
}
]
}