{
  "id": "observation_tower",
  "name": {
    "en": "Observation towers",
    "nl": "Uitkijktorens",
    "ru": "Смотровые башни",
    "de": "Aussichtstürme",
    "ca": "Torres d'observació",
    "es": "Torres de observación"
  },
  "minzoom": 8,
  "title": {
    "render": {
      "en": "Observation tower",
      "nl": "Uitkijktoren",
      "ru": "Смотровая башня",
      "de": "Beobachtungsturm",
      "ca": "Torre d'observació",
      "es": "Torre de observación"
    },
    "mappings": [
      {
        "if": "name~*",
        "then": {
          "en": "<b>{name}</b>",
          "nl": "<b>{name}</b>",
          "ru": "<b>{name}</b>",
          "de": "<b>{name}</b>",
          "ca": "<b>{name}</b>",
          "es": "<b>{name}</b>"
        }
      }
    ]
  },
  "description": {
    "en": "Towers with a panoramic view",
    "nl": "Torens om van het uitzicht te genieten",
    "de": "Türme zur Aussicht auf die umgebende Landschaft",
    "es": "Torres con vista panorámica"
  },
  "tagRenderings": [
    "images",
    {
      "question": {
        "en": "What is the name of this tower?",
        "nl": "Heeft deze toren een naam?",
        "de": "Wie ist der Name des Turms?",
        "es": "¿Cual es el nombre de esta torre?",
        "ca": "Com s'anomena aquesta torre?"
      },
      "render": {
        "en": "This tower is called <b>{name}</b>",
        "nl": "Deze toren heet <b>{name}</b>",
        "de": "Der Name des Turms ist <b>{name}</b>",
        "es": "Esta torre se llama <b>{name}</b>",
        "ca": "Aquesta torre s'anomena <b>{name}</b>"
      },
      "freeform": {
        "key": "name"
      },
      "mappings": [
        {
          "if": "noname=yes",
          "then": {
            "en": "This tower doesn't have a specific name",
            "nl": "Deze toren heeft geen specifieke naam",
            "de": "Der Turm hat keinen eigenen Namen",
            "es": "Esta torre no tiene un nombre específico",
            "ca": "Aquesta torre no té un nom concret"
          }
        }
      ],
      "id": "name"
    },
    {
      "question": {
        "en": "What is the height of this tower?",
        "nl": "Hoe hoog is deze toren?",
        "de": "Wie hoch ist dieser Turm?",
        "es": "¿Cual es la altura de esta torre?",
        "ca": "Quina és l'alçada d'aquesta torre?"
      },
      "render": {
        "en": "This tower is {height} high",
        "nl": "Deze toren is {height} hoog",
        "de": "Dieser Turm ist {height} hoch",
        "es": "Esta torre mide {height}"
      },
      "freeform": {
        "key": "height",
        "type": "pfloat"
      },
      "id": "Height"
    },
    {
      "id": "access",
      "question": {
        "en": "Can this tower be visited?",
        "nl": "Is deze toren publiek toegankelijk?",
        "es": "¿Se puede visitar esta torre?",
        "de": "Darf der Turm betreten werden?",
        "ca": "Es pot visitar aquesta torre?"
      },
      "mappings": [
        {
          "if": "access=yes",
          "then": {
            "en": "This tower is publicly accessible",
            "nl": "Deze toren is publiek toegankelijk",
            "de": "Der Turm ist öffentlich zugänglich",
            "es": "Esta torre es accesible públicamente",
            "ca": "Aquesta torre és d'accés públic"
          }
        },
        {
          "if": "access=guided",
          "then": {
            "en": "This tower can only be visited with a guide",
            "nl": "Deze toren can enkel bezocht worden met een gids",
            "de": "Der Turm darf nur in Begleitung eines Führers betreten werden",
            "es": "A esta torre solo se puede acceder con un guía",
            "ca": "Aquesta torre només es pot visitar amb un guia"
          }
        }
      ]
    },
    {
      "question": {
        "en": "How much does one have to pay to enter this tower?",
        "nl": "Hoeveel moet men betalen om deze toren te bezoeken?",
        "de": "Was kostet der Zugang zu diesem Turm?",
        "es": "¿Cuánto hay que pagar para entrar en esta torre?"
      },
      "render": {
        "en": "Visiting this tower costs <b>{charge}</b>",
        "nl": "Deze toren bezoeken kost <b>{charge}</b>",
        "de": "Der Besuch des Turms kostet <b>{charge}</b>",
        "es": "Visitar esta torre cuesta <b>{charge}</b>"
      },
      "freeform": {
        "key": "charge",
        "addExtraTags": [
          "fee=yes"
        ]
      },
      "mappings": [
        {
          "if": {
            "and": [
              "fee=no",
              "charge="
            ]
          },
          "then": {
            "en": "Free to visit",
            "nl": "Gratis te bezoeken",
            "de": "Eintritt kostenlos"
          }
        }
      ],
      "id": "Fee",
      "condition": {
        "or": [
          "access=yes",
          "access=guided"
        ]
      }
    },
    {
      "builtin": "payment-options",
      "override": {
        "condition": {
          "or": [
            "fee=yes",
            "charge~*"
          ]
        }
      },
      "id": "Payment methods"
    },
    "website",
    {
      "id": "step_count",
      "question": {
        "en": "How much individual steps does one have to climb to reach the top of this tower?",
        "nl": "Hoeveel treden moet men beklimmen op de top van de toren te bereiken?",
        "de": "Wie viele einzelne Stufen muss man erklimmen, um die Spitze des Turms zu erreichen?",
        "es": "¿Cuántos escalones hay que subir para llegar a la cima de esta torre?",
        "ca": "Quants esglaons individuals cal pujar per arribar al cim d'aquesta torre?"
      },
      "freeform": {
        "key": "step_count",
        "type": "pnat"
      },
      "render": {
        "en": "This tower has {step_count} steps to reach the top",
        "nl": "Deze toren heeft {step_count} traptredes",
        "de": "Dieser Turm hat {step_count} Stufen, um die Spitze zu erreichen",
        "es": "Esta torre tiene {step_count} escalones para lllegar a l a cima",
        "ca": "Aquesta torre té {step_count} esglaons per arribar al cim"
      },
      "condition": {
        "or": [
          "access=yes",
          "access=guided"
        ]
      }
    },
    {
      "id": "elevator",
      "question": {
        "en": "Does this tower have an elevator?",
        "nl": "Heeft deze toren een lift?",
        "de": "Hat dieser Turm einen Aufzug?",
        "es": "¿Tiene ascensor esta torre?"
      },
      "mappings": [
        {
          "if": "elevator=yes",
          "then": {
            "en": "This tower has an elevator which takes visitors to the top",
            "nl": "Deze toren heeft een lift die bezoekers naar de top van de toren brengt",
            "de": "Dieser Turm verfügt über einen Aufzug, der die Besucher nach oben bringt",
            "es": "Esta torre tiene un ascensor que lleva a los visitantes a la cima"
          }
        },
        {
          "if": "elevator=no",
          "then": {
            "en": "This tower does not have an elevator",
            "nl": "Deze toren heeft geen lift",
            "de": "Dieser Turm hat keinen Aufzug",
            "es": "Esta torre no tiene ascensor"
          }
        }
      ],
      "condition": {
        "or": [
          "access=yes",
          "access=guided"
        ]
      }
    },
    {
      "question": {
        "en": "Who maintains this tower?",
        "nl": "Wie onderhoudt deze toren?",
        "de": "Wer betreibt den Turm?",
        "es": "¿Quién mantiene esta torre?",
        "ca": "Qui manté aquesta torre?"
      },
      "render": {
        "nl": "Wordt onderhouden door <b>{operator}</b>",
        "en": "Maintained by <b>{operator}</b>",
        "de": "Betrieben von <b>{operator}</b>",
        "es": "Mantenida por <b>{operator}</b>"
      },
      "freeform": {
        "key": "operator"
      },
      "id": "Operator"
    },
    {
      "builtin": "wheelchair-access",
      "override": {
        "condition": {
          "and": [
            "elevator=yes",
            {
              "or": [
                "access=yes",
                "access=guided"
              ]
            }
          ]
        }
      }
    },
    "wikipedia"
  ],
  "source": {
    "osmTags": {
      "and": [
        "tower:type=observation"
      ]
    }
  },
  "units": [
    {
      "appliesToKey": [
        "height"
      ],
      "applicableUnits": [
        {
          "canonicalDenomination": "m",
          "alternativeDenomination": [
            "meter",
            "mtr"
          ],
          "human": {
            "nl": " meter",
            "en": " meter",
            "ru": " метр",
            "de": " Meter",
            "ca": " metre",
            "es": " metros"
          }
        }
      ],
      "eraseInvalidValues": true
    }
  ],
  "allowMove": {
    "enableRelocation": false,
    "enableImproveAccuraccy": true
  },
  "mapRendering": [
    {
      "icon": "circle:white;./assets/layers/observation_tower/Tower_observation.svg",
      "iconSize": "40,40",
      "location": [
        "point",
        "centroid"
      ],
      "anchor": "center"
    }
  ]
}