mapcomplete/assets/layers/ghostsign/ghostsign.json

137 lines
3.6 KiB
JSON

{
"id": "ghostsign",
"title": {
"render": {
"en": "Ghost Sign",
"de": "Geisterzeichen",
"es": "Publicidad en una fachada",
"ca": "Rètols fantasma",
"cs": "Nápisy na zdech"
}
},
"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",
"ca": "Capa que mostra rètols en desús dels edificis",
"cs": "Vrstva zobrazující nepoužívané nápisy na budovách"
},
"name": {
"en": "Ghost Signs",
"de": "Geisterzeichen",
"es": "Señales fantasma"
},
"source": {
"osmTags": {
"and": [
"historic~*",
"advertising~*"
]
}
},
"minzoom": 10,
"#allowMove": "Normally, a ghost sign is snapped to a wall, so moving won't be possible in most cases, but might still be useful e.g. to snap to a building",
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
},
"tagRenderings": [
"images",
"advertising.historic",
"advertising.type",
{
"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?",
"ca": "Quin és el text del rètol?",
"uk": "Який текст на вивісці?"
},
"freeform": {
"key": "inscription",
"type": "text",
"placeholder": {
"en": "Text on the sign",
"de": "Text auf dem Schild",
"es": "Texto en el cartel",
"ca": "Text en el rètol",
"uk": "Текст на табличці"
}
},
"render": {
"en": "The text on the sign is: {inscription}",
"de": "Der Text auf dem Schild ist: {inscription}",
"es": "El texto del cartel es: {inscription}",
"uk": "Текст на табличці: {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?",
"ca": "Per a quin negoci es va fer aquest rètol?",
"cs": "Pro jaký účel byla tato značka vyrobena?"
},
"freeform": {
"key": "brand",
"type": "string",
"placeholder": {
"en": "Business name",
"de": "Unternehmensname",
"es": "Nombre comercial",
"it": "Nome dell'attività",
"ca": "Nom comercial",
"cs": "Název firmy"
}
},
"render": {
"en": "This sign was made for: {brand}",
"de": "Dieses Schild wurde gemacht für: {brand}",
"es": "Este cartel se hizo para: {brand}",
"ca": "El rètol es va fer per a: {brand}",
"cs": "Tato cedule byla vyrobena pro: {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",
"ca": "un rètol fantasma",
"cs": "nápis na zdi"
},
"snapToLayer": [
"walls_and_buildings"
],
"maxSnapDistance": 5
}
]
}