{
  "id": "aerialway",
  "name": {
    "en": "Aerialways",
    "de": "Seilbahnen"
  },
  "description": {
    "en": "Various forms of transport for passengers and goods that use wires, including cable cars, gondolas, chair lifts, drag lifts, and zip lines. ",
    "de": "Alle Arten von seil- oder drahtgestütztem Personen- oder Gütertransport, wie Seilbahnen, Gondeln, Sessellifte, Schlepplifte. "
  },
  "minzoom": 11,
  "source": {
    "osmTags": {
      "and": [
        "aerialway~*",
        "aerialway!=pylon",
        "aerialway!=station"
      ]
    }
  },
  "title": {
    "render": {
      "en": "Aerialway {name}",
      "de": "Seilbahn {name}"
    }
  },
  "pointRendering": [
    {
      "location": [
        "start"
      ],
      "marker": [
        {
          "icon": "square"
        }
      ],
      "iconSize": "12,12"
    },
    {
      "location": [
        "point",
        "projected_centerpoint"
      ],
      "label": {
        "render": {
          "en": "{name}",
          "de": "{name}"
        },
        "condition": "name~*",
        "classes": "bg-white p-1 px-2 rounded"
      },
      "labelCssClasses": "bg-white px-2 py-1 no-weblate"
    }
  ],
  "lineRendering": [
    {
      "width": "4",
      "color": "black",
      "imageAlongWay": [
        {
          "if": "oneway=no",
          "then": "./assets/png/twoway.png"
        },
        {
          "if": {
            "or": [
              "oneway=yes",
              "oneway="
            ]
          },
          "then": "./assets/png/oneway.png"
        }
      ]
    }
  ],
  "tagRenderings": [
    "images",
    {
      "question": {
        "en": "What type of aerialway is this?",
        "de": "Um welchen Seilbahntyp handelt es sich?"
      },
      "id": "type",
      "mappings": [
        {
          "if": "aerialway=cable_car",
          "then": {
            "en": "This is a cable car where the car goes up and down again on the same cable.",
            "de": "Es handelt sich um eine Seilbahn, bei der die Kabine auf demselben Seil nach oben und wieder nach unten fährt."
          },
          "icon": "./assets/layers/aerialway/cable_car.svg"
        },
        {
          "if": "aerialway=gondola",
          "then": {
            "en": "This is a gondola where the cars go around in continuous circles",
            "de": "Es handelt sich um eine Seilbahn, bei der die Kabinen in ständigen Kreisen fahren"
          },
          "icon": "./assets/layers/aerialway/gondola_lift.svg"
        },
        {
          "if": "aerialway=chair_lift",
          "then": {
            "en": "An open chairlift with seats to sit on and open to the outside air.",
            "de": "Ein offener Sessellift mit Sitzgelegenheiten und Zugang zur Außenluft."
          },
          "icon": "./assets/layers/aerialway/chair_lift.svg"
        },
        {
          "if": "aerialway=mixed",
          "then": {
            "en": "An aerialway which has both chairs and gondolas in the same continuous track",
            "de": "Eine Seilbahn, die sowohl offene Sessel als auch geschlossene Gondeln auf einer durchgehenden Bahn hat"
          }
        },
        {
          "if": "aerialway=drag_lift",
          "then": {
            "en": "A drag lift",
            "de": "Ein Schlepplift"
          },
          "hideInAnswer": true
        },
        {
          "if": "aerialway=t-bar",
          "then": {
            "en": "A drag lift with T-shaped carriers for two passengers at a time",
            "de": "Ein Schlepplift mit T-förmigen Trägern für jeweils zwei Passagiere"
          }
        },
        {
          "if": "aerialway=j-bar",
          "then": {
            "en": "A drag lift with L-shaped bars for a single passenger at a time",
            "de": "Ein Schlepplift mit L-förmigen Trägern für jeweils einen Passagier"
          }
        },
        {
          "if": "aerialway=platter",
          "then": {
            "en": "A drag lift with a platter to drag a single passenger at a time",
            "de": "Ein Schlepplift mit einem Teller für jeweils einen Passagier"
          }
        },
        {
          "if": "aerialway=rope_tow",
          "then": {
            "en": "A tow line which which drags skieers",
            "de": "Eine Schleppleine, die Skifahrer mit sich zieht"
          }
        },
        {
          "if": "aerialway=magic_carpet",
          "then": {
            "en": "A magic carpet (a conveyor belt on the ground)",
            "de": "Ein magic carpet (ein Förderband auf dem Boden)"
          }
        },
        {
          "if": "aerialway=zip_line",
          "then": {
            "en": "A zip line. (A touristical attraction where adventurous people go down at high speeds) ",
            "de": "Eine Seilrutsche. (Eine Touristenattraktion, bei der abenteuerlustige Menschen mit hoher Geschwindigkeit hinunterfahren) "
          }
        }
      ]
    },
    {
      "id": "duration",
      "question": {
        "en": "How long takes a single journey with this elevator?",
        "de": "Wie lange dauert eine Fahrt mit diesem Aufzug?"
      },
      "questionHint": {
        "en": "This excludes the waiting time.",
        "de": "Dies schließt die Wartezeit aus."
      },
      "freeform": {
        "key": "duration"
      },
      "render": {
        "en": "A single journey takes {duration} minutes",
        "de": "Eine Fahrt dauert {duration} Minuten"
      }
    },
    {
      "id": "occupancy",
      "freeform": {
        "key": "aerialway:occupancy"
      },
      "question": {
        "en": "How many people fit a single carriage?",
        "de": "Wie viele Leute passen in eine Kabine?"
      },
      "render": {
        "en": "{aerialway:occupancy} people fit a single carriage",
        "de": "{aerialway:occupancy} Leute passen in eine Kabine"
      }
    },
    "opening_hours",
    {
      "id": "oneway",
      "question": {
        "en": "In what direction can this aerialway be taken?",
        "de": "In welche Richtung kann diese Seilbahn genutzt werden?"
      },
      "mappings": [
        {
          "if": "oneway=yes",
          "alsoShowIf": "oneway=",
          "then": {
            "en": "This aerialway can only be taken to the top",
            "de": "Diese Seilbahn kann nur nach oben gefahren werden"
          }
        },
        {
          "if": "oneway=no",
          "then": {
            "en": "This aerialway can be taken in both directions",
            "de": "Diese Seilbahn kann in beide Richtungen befahren werden"
          }
        }
      ]
    },
    {
      "id": "length",
      "render": {
        "en": "This aerialway is {_length:km} kilometer long",
        "de": "Die Seilbahn hat eine Länge von {_length:km} km",
        "fr": "Cette voie aérienne fait {_length:km} kilomètre de long"
      }
    }
  ]
}