{ "id": "transit_routes", "name": { "en": "Bus lines", "de": "Buslinien" }, "description": { "en": "Layer showing bus lines", "de": "Ebene mit Buslinien" }, "source": { "osmTags": { "and": [ "type=route", "route=bus" ] } }, "minzoom": 15, "title": { "render": { "en": "Bus line", "de": "Buslinie" }, "mappings": [ { "if": "name~*", "then": { "en": "{name}", "de": "{name}" } } ] }, "mapRendering": [ { "color": { "render": { "en": "#ff0000", "de": "#ff0000" }, "mappings": [ { "if": "colour~*", "then": "{colour}" } ] } } ], "tagRenderings": [ { "id": "name", "freeform": { "key": "name", "type": "string", "placeholder": "Bus XX: From => Via => To" }, "render": "{name}", "question": { "en": "What is the name for this bus line? (i.e. Bus XX: From => Via => To)", "de": "Wie lautet der Name der Buslinie? (z.B. Bus XX: Von => Über => Nach)" } }, { "id": "from", "freeform": { "key": "from", "type": "string", "placeholder": "City, Stop Name" }, "render": { "en": "This bus line begins at {from}", "de": "Die Buslinie startet von {from}" }, "question": { "en": "What is the starting point for this bus line?", "de": "Wo ist der Startpunkt dieser Buslinie?" } }, { "id": "via", "freeform": { "key": "via", "type": "string", "placeholder": "City, Stop Name" }, "render": { "en": "This bus line goes via {via}", "de": "Die Buslinie fährt über {via}" }, "question": { "en": "What is the via point for this bus line?", "de": "Über welchen Zwischenhalt fährt die Buslinie?" } }, { "id": "to", "freeform": { "key": "to", "type": "string", "placeholder": "City, Stop Name" }, "render": { "en": "This bus line ends at {to}", "de": "Der Endpunkt der Buslinie ist {to}" }, "question": { "en": "What is the ending point for this bus line?", "de": "Wo ist der Endpunkt der Buslinie?" } }, { "id": "colour", "freeform": { "key": "colour", "type": "color" }, "render": { "en": "This bus line has the color {colour}", "de": "Die Buslinie hat die Farbe {colour}" }, "question": { "en": "What is the colour for this bus line?", "de": "Welche Farbe hat diese Buslinie?" } }, { "id": "network", "freeform": { "key": "network", "type": "string" }, "render": { "en": "This bus line is part of the {network} network", "de": "Die Buslinie gehört zum Verkehrsverbund {network}" }, "question": { "en": "What network does this bus line belong to?", "de": "Zu welchem Verkehrsverbund gehört die Buslinie?" } }, { "id": "operator", "freeform": { "key": "operator", "type": "string" }, "render": { "en": "This bus line is operated by {operator}", "de": "Die Buslinie wird betrieben von {operator}" }, "question": { "en": "What company operates this bus line?", "de": "Welches Unternehmen betreibt die Buslinie?" } } ] }