Seperate cyclestreets layer, reuse question in cycle_infra (#1766)

This commit is contained in:
Robin van der Linde 2025-02-21 00:32:58 +01:00
parent 8354dfa7d6
commit bc697602a6
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
22 changed files with 547 additions and 1373 deletions

View file

@ -0,0 +1,518 @@
{
"id": "cyclestreets",
"allowSplit": true,
"name": {
"nl": "Fietsstraten",
"en": "Cyclestreets",
"ja": "Cyclestreets",
"zh_Hant": "單車街道",
"it": "Strade ciclabili",
"de": "Fahrradstraßen",
"nb_NO": "Sykkelgater",
"ru": "Cyclestreets",
"hu": "Kerékpárosutcák",
"ca": "Carrers ciclistes",
"es": "Ciclocalles",
"fr": "Rue cyclables",
"da": "Cykelgader",
"pa_PK": "سائیکاں دیاں سڑکاں",
"cs": "Cyklostezky",
"eu": "Bidegorriak",
"pl": "Ulice rowerowe",
"uk": "Велодороги",
"ko": "자전거 전용 도로"
},
"minzoom": 7,
"source": {
"osmTags": {
"or": [
"cyclestreet=yes",
"bicycle_road=yes"
]
}
},
"isShown": "id~way/.*",
"description": {
"nl": "Een fietsstraat is een straat waar gemotoriseerd verkeer een fietser niet mag inhalen",
"en": "A cyclestreet is a street where motorized traffic is not allowed to overtake a cyclist",
"ja": "cyclestreetとは、自動車による交通がサイクリストを追い越すことができない道路です",
"it": "Una strada ciclabile è una strada in cui i veicoli a motore non possono sorpassare le persone in bicicletta",
"de": "Eine Fahrradstraße ist eine Straße, auf der motorisierter Verkehr einen Radfahrer nicht überholen darf",
"hu": "A kerékpárosutca olyan utca, ahol gépjármű nem előzhet meg a kerékpárost",
"es": "Una ciclocalle es una calle donde el tráfico motorizado no puede adelantar a un ciclista",
"fr": "Une rue cyclable est une rue où les véhicules motorisés ne sont pas autorisés à dépasser les cyclistes",
"da": "En cykelgade er en gade, hvor motoriseret trafik ikke må overhale en cyklist",
"cs": "Cyklostezka je ulice, kde motorová doprava nesmí předjíždět cyklisty",
"ca": "Un ciclocarrer és un carrer on el trànsit motoritzat no pot sobrepassar a un ciclista",
"pl": "Ulica rowerowa to ulica, na której pojazdy zmotoryzowane nie mogą wyprzedzać rowerzystów",
"ko": "자전거 전용 도로는 차량이 자전거를 추월할 수 없는 도로 입니다",
"zh_Hant": "單車街道是機動車輛不被允許超車單車"
},
"title": "{name}",
"tagRenderings": [
"images",
{
"id": "is_cyclestreet",
"question": {
"nl": "Is de straat <b>{name}</b> een fietsstraat?",
"en": "Is the street <b>{name}</b> a cyclestreet?",
"de": "Ist die Straße <b>{name}</b> eine Fahrradstraße?",
"it": "È <b>{name}</b> una strada ciclabile?",
"hu": "Kerékpárosutca-e <b>{name}</b>?",
"es": "¿Es la calle <b>{name}</b> una ciclocalle?",
"fr": "La rue <b>{name}</b> est-elle une rue cyclable ?",
"nb_NO": "Er <b>{name}</b>-gaten en sykkelgate?",
"da": "Er gaden <b>{name}</b> en cykelgade?",
"cs": "Je ulice <b>{name}</b> cyklo ulicí?",
"ca": "El carrer <b>{name}</b> és un ciclocarrer?",
"pl": "Czy ulica <b>{name}</b> jest ulicą rowerową?",
"ko": "이 도로는 <b>{name}</b> 자전거 전용 도로인가요?",
"zh_Hant": "這條道路<b>{name}</b>是單車街道嗎?"
},
"mappings": [
{
"if": {
"and": [
"cyclestreet=yes",
"maxspeed=30",
"overtaking:motor_vehicle=no",
"proposed:cyclestreet="
]
},
"then": {
"nl": "Deze straat is een fietsstraat (en dus zone 30)",
"en": "This street is a cyclestreet (and has a speed limit of 30 km/h)",
"ja": "cyclestreet(最高速度は30km/h)",
"nb_NO": "Denne gaten er en sykkelvei (og har en fartsgrense på 30 km/t)",
"de": "Diese Straße ist eine Fahrradstraße (mit einer Geschwindigkeitsbegrenzung von 30 km/h)",
"it": "Questa è una strada ciclabile (e ha un limite di velocità massima di 30 km/h)",
"hu": "Ez az utca kerékpárosutca (és 30 km/h a sebességkorlátozás)",
"es": "Esta calle es una ciclocalle (y tiene un límite de velocidad de 30 km/h)",
"fr": "Cette rue est une rue cyclable (et est limitée à 30 km/h)",
"da": "Denne gade er en cykelgade (og har en hastighedsgrænse på 30 km/t)",
"cs": "Tato ulice je cyklostezkou (s omezením rychlosti na 30 km/h)",
"ca": "Aquest carrer és un ciclocarrer (i té un límit de velocitat de 30km/h)",
"pl": "Ta ulica jest ulicą rowerową (na której obowiązuje ograniczenie prędkości do 30 km/h)",
"ko": "이 도로는 자전거 전용 도로입니다 (제한 속도는 시속 30km입니다)",
"zh_Hant": "這條道路是單車街道 (而且有速限30km/h)"
},
"hideInAnswer": "_country!=be"
},
{
"if": "bicycle_road=yes",
"then": {
"en": "This street is a bicycle road",
"de": "Diese Straße ist eine Fahrradstraße",
"nl": "Deze straat is een fietsstraat",
"fr": "Cette rue est une piste cyclable",
"ca": "Aquest carrer és una pista ciclable",
"cs": "Tato ulice je cyklistickou silnicí",
"es": "Esta calle tiene ciclovías",
"pl": "To jest droga dla rowerów",
"it": "Questa strada è una strada per biciclette",
"ko": "이 도로는 자전거 도로 입니다",
"zh_Hant": "這條道路是單車街道"
},
"hideInAnswer": true
},
{
"if": {
"and": [
"bicycle_road=yes",
"proposed:bicycle_road=",
"maxspeed=30",
"source:maxspeed=DE:bicycle_road",
"vehicle=no",
"bicycle=designated"
]
},
"then": {
"en": "This street is a bicycle road (has a speed limit of 30 km/h and vehicles are not allowed) (sign will be asked later)",
"de": "Diese Straße ist eine Fahrradstraße (hat eine Geschwindigkeitsbegrenzung von 30 km/h und Fahrzeuge sind nicht erlaubt) (Schild wird später abgefragt)",
"nl": "Deze straat is een fietsstraat (snelheid van 30 km/h en voertuigen niet toegestaan) (bord wordt later gevraagd)",
"fr": "Cette rue est une piste cyclable (avec une limitation de vitesse a 30 km/h et les véhicules ne sont pas autorisés) (un panneau sera demandé plus tard)",
"ca": "Aquest carrer és una carretera ciclista (té un límit de velocitat de 30km/h i els vehicles no estan permesos)(el senyal es preguntarà més tard)",
"cs": "Tato ulice je cyklistická (rychlost je zde omezena na 30 km/h vozidla sem mají zákaz vjezdu) (na značku se zeptáme později)",
"es": "Esta calle es una vía ciclista (tiene un límite de velocidad de 30 km/h y no se permiten vehículos) (la señal se solicitará más tarde)",
"pl": "Ulica ta jest drogą rowerową (ograniczona prędkość wynosi 30 km/h i nie wolno wjeżdżać pojazdom) (znak zostanie poproszony później)",
"it": "Questa strada è una strada per biciclette (ha un limite di velocità di 30 km/h e i veicoli non sono ammessi)(il segnale verrà richiesto più tardi)",
"ko": "이 도로는 자전거 도로 입니다 (제한 속도는 시속 30km이고 차량의 진입이 허용되지 않습니다) (표지판은 추후 요청될 예정입니다.)"
},
"hideInAnswer": "_country!=de"
},
{
"if": {
"and": [
"cyclestreet=yes",
"proposed:cyclestreet="
]
},
"then": {
"nl": "Deze straat is een fietsstraat",
"en": "This street is a cyclestreet",
"ja": "この通りはcyclestreetだ",
"nb_NO": "Denne gaten er en sykkelvei",
"de": "Diese Straße ist eine Fahrradstraße",
"it": "Questa è una strada ciclabile",
"hu": "Ez az utca kerékpárosutca",
"es": "Esta calle es una ciclocalle",
"fr": "Cette rue est une rue cyclable",
"ca": "Aquest carrer és una ciclocarrer",
"da": "Denne gade er en cykelgade",
"cs": "Tato ulice je cykloulicí",
"pl": "Ta ulica jest ulicą rowerową",
"ko": "이 도로는 자전거 전용 도로 입니다"
},
"hideInAnswer": {
"or": [
"_country=be",
"_country=de"
]
}
},
{
"if": {
"and": [
"cyclestreet=",
"proposed:cyclestreet=yes"
]
},
"then": {
"nl": "Deze straat wordt binnenkort een fietsstraat",
"en": "This street will become a cyclestreet soon",
"ja": "この通りはまもなくcyclestreetになるだろう",
"nb_NO": "Denne gaten vil bli sykkelvei ganske snart",
"de": "Diese Straße wird bald eine Fahrradstraße sein",
"it": "Diverrà tra poco una strada ciclabile",
"hu": "Ez az utca hamarosan kerékpárosutcává válik",
"es": "Esta calle se convertirá pronto en una ciclocalle",
"fr": "Cette rue sera bientôt une rue cyclable",
"ca": "Aquest carrer es convertirà en un ciclocarrer pròximament",
"da": "Denne gade bliver snart en cykelgade",
"cs": "Tato ulice se brzy stane cyklostezkou",
"pl": "Ta ulica wkrótce stanie się ulicą rowerową",
"ko": "이 도로는 곧 자전거 도로로 전환될 예정입니다",
"zh_Hant": "這條道路即將成為單車街道"
},
"hideInAnswer": "_country=de"
},
{
"if": {
"and": [
"bicycle_road=",
"proposed:bicycle_road=yes"
]
},
"then": {
"en": "This street will become a bicycle road soon",
"de": "Diese Straße wird bald zu einer Fahrradstraße",
"nl": "Deze straat wordt binnenkort een fietsstraat",
"fr": "Cette rue va bientôt devenir une piste cyclable",
"cs": "Tato ulice se brzy stane cyklistickou silnicí",
"es": "Esta calle se convertirá pronto en una vía ciclista",
"ca": "Aquest carrer es convertirà aviat en una senda ciclable",
"pl": "Już niedługo ta ulica stanie się drogą rowerową",
"ko": "이 도로는 곧 자전거 도로로 전환될 예정입니다",
"zh_Hant": "這條道路即將成為單車道路"
},
"hideInAnswer": "_country!=de"
},
{
"if": {
"and": [
"cyclestreet=",
"proposed:cyclestreet=",
"bicycle_road=",
"proposed:bicycle_road=",
"overtaking:motor_vehicle="
]
},
"then": {
"nl": "Deze straat is geen fietsstraat",
"en": "This street is not a cyclestreet",
"ja": "この通りはcyclestreetではない",
"nb_NO": "Denne gaten er ikke en sykkelvei",
"it": "Questa strada non è una strada ciclabile",
"de": "Diese Straße ist keine Fahrradstraße",
"hu": "Ez az utca nem kerékpárosutca",
"es": "Esta calle no es una ciclocalle",
"fr": "Cette rue nest pas une rue cyclable",
"da": "Denne gade er ikke en cykelgade",
"cs": "Tato ulice není cyklo ulicí",
"ca": "Aquest carrer no és un ciclocarrer",
"pl": "Ta ulica nie jest ulicą rowerową",
"ko": "이 도로는 자전거 전용 도로가 아닙니다",
"zh_Hant": "這條道路並非單車街道"
}
}
]
},
{
"id": "supplementary_sign",
"condition": {
"and": [
"bicycle_road=yes",
"_country=de"
]
},
"question": {
"en": "What sign does this bicycle road have?",
"de": "Welches Schild hat diese Fahrradstraße?",
"nl": "Welk bord heeft deze fietsstraat?",
"fr": "Quel panneau comporte cette piste cyclable ?",
"cs": "Jakou značku má tato cyklostezka?",
"es": "¿Qué señal tiene esta vía ciclista?",
"ca": "Quin senyal té aquesta senda ciclable?",
"pl": "Jaki znak ma ta droga rowerowa?",
"ko": "이 자전거 도로에 어떤 표지판이 존재합니까?"
},
"mappings": [
{
"if": "traffic_sign=DE:244.1,1020-30",
"then": {
"en": "Residents allowed",
"de": "Anlieger frei",
"nl": "Aanwonenden toegestaan",
"fr": "Riverains autorisés",
"ca": "Residents permesos",
"es": "Residentes permitidos",
"cs": "Přístup povolen obyvatelům",
"pl": "Mieszkańcy dopuszczeni",
"da": "Beboere tilladt",
"it": "Permesso l'accesso ai residenti",
"ko": "거주자 허용",
"zh_Hant": "允許居民通行"
},
"icon": {
"path": "./assets/themes/cyclestreets/Zeichen_244_1020-30.svg",
"class": "large"
},
"addExtraTags": [
"vehicle=destination",
"motorcar=",
"motorcycle=",
"motor_vehicle="
]
},
{
"if": "traffic_sign=DE:244.1,1022-12,1024-10",
"then": {
"en": "Motor vehicles allowed",
"de": "KFZ frei",
"nl": "Motorvoertuigen toegestaan",
"fr": "Véhicules motorisés autorisés",
"cs": "Vjezd motorových vozidel povolen",
"ca": "Vehicles a motor permesos",
"es": "Vehículos motorizados permitidos",
"pl": "Pojazdy silnikowe dozwolone",
"da": "Motorkøretøjer tilladt",
"it": "Permesso l'accesso ai veicoli a motore",
"ko": "차량 허용",
"zh_Hant": "允許機動車輛通行"
},
"icon": {
"path": "./assets/themes/cyclestreets/Zeichen_244_KFZ_frei.svg",
"class": "large"
},
"addExtraTags": [
"motor_vehicle=yes",
"motorcar=",
"motorcycle=",
"vehicle=no"
]
},
{
"if": "traffic_sign=DE:244.1,1022-12",
"then": {
"en": "Motorcycles allowed",
"de": "Motorräder frei",
"pa_PK": "موٹرسائیکلاں دی اِجازت اے",
"nl": "Motoren toegestaan",
"fr": "Motos autorisées",
"cs": "Vjezd motocyklů povolen",
"ca": "Motos permeses",
"es": "Motocicletas permitidas",
"pl": "Motocykle dozwolone",
"da": "Motorcykler tilladt",
"it": "Permesso l'accesso ai motocicli",
"ko": "오토바이 허용",
"zh_Hant": "允許機車通行"
},
"icon": {
"path": "./assets/themes/cyclestreets/Zeichen_244_1022-12.svg",
"class": "large"
},
"addExtraTags": [
"motorcycle=yes",
"motorcar=",
"motor_vehicle=",
"vehicle=no"
]
},
{
"if": "traffic_sign=DE:244.1,1024-10",
"then": {
"en": "Cars allowed",
"de": "Autos erlaubt",
"pa_PK": "موٹرکاراں دی اِجازت اے",
"nl": "Auto's toegestaan",
"fr": "Voitures autorisées",
"cs": "Vjezd aut povolen",
"nb_NO": "Biler tillatt",
"ca": "Cotxes permesos",
"es": "Coches permitidos",
"pl": "Samochody dozwolone",
"da": "Biler tilladt",
"it": "Permesso l'accesso alle auto",
"ko": "자동차 허용",
"zh_Hant": "允許汽車通行"
},
"icon": {
"path": "./assets/themes/cyclestreets/Zeichen_244_1024-10.svg",
"class": "large"
},
"addExtraTags": [
"motorcar=yes",
"motorcycle=",
"motor_vehicle=",
"vehicle=no"
]
},
{
"if": "traffic_sign=DE:244.1",
"then": {
"en": "There are no supplementary signs at this bicycle road.",
"de": "An dieser Fahrradstraße gibt es keine zusätzlichen Schilder.",
"nl": "Er zijn geen onderborden bij deze fietsstraat.",
"fr": "Il n'y a pas de panneaux supplémentaires à cette piste cyclable.",
"cs": "Na této cyklostezce nejsou žádná doplňková značení.",
"es": "No hay señales complementarias en esta vía ciclista.",
"ca": "No hi ha senyals addicionals en aquesta senda ciclable.",
"pl": "Na tej drodze rowerowej nie ma żadnych dodatkowych znaków.",
"ko": "이 자전거 도로에는 추가적인 표지판이 존재하지 않습니다."
},
"icon": {
"path": "./assets/themes/cyclestreets/Zeichen_244.svg",
"class": "large"
},
"addExtraTags": [
"vehicle=no",
"motorcycle=",
"motorcar=",
"motor_vehicle="
]
}
]
},
{
"id": "future_cyclestreet",
"question": {
"nl": "Wanneer wordt deze straat een fietsstraat?",
"en": "When will this street become a cyclestreet?",
"ja": "この通りはいつcyclestreetになるんですか?",
"it": "Questa strada diventerà una strada ciclabile quando?",
"de": "Wann wird diese Straße eine Fahrradstraße?",
"hu": "Mikor lesz ez az utca kerékpárosutca?",
"es": "¿Cuándo se convertirá esta calle en una ciclocalle?",
"fr": "Quand cette rue deviendra-t-elle cyclable ?",
"nb_NO": "Når vil denne gaten bli en sykkelgate?",
"da": "Hvornår bliver denne gade en cykelgade?",
"cs": "Kdy se tato ulice stane cyklostezkou?",
"ca": "Quan es convertirà aquest carrer en un ciclocarrer?",
"pl": "Kiedy ta ulica stanie się ulicą rowerową?",
"ko": "언제 자전거 전용 도로로 전환이 되나요?"
},
"render": {
"nl": "Deze straat wordt fietsstraat op {cyclestreet:start_date}",
"en": "This street will become a cyclestreet at {cyclestreet:start_date}",
"ja": "この通りは{cyclestreet:start_date}に、cyclestreetになります",
"it": "Questa strada diventerà una strada ciclabile dal {cyclestreet:start_date}",
"de": "Diese Straße wird am {cyclestreet:start_date} zu einer Fahrradstraße",
"hu": "Ez az utca ekkor lesz kerékpárosutca: {cyclestreet:start_date}",
"es": "Esta calle se convertirá en una ciclocalle en {cyclestreet:start_date}",
"fr": "Cette rue deviendra une rue cyclable le {cyclestreet:start_date}",
"nb_NO": "Denne gaten vil bli en sykkelgate {cyclestreet:start_date}",
"da": "Denne gade bliver en cykelgade ved {cyclestreet:start_date}",
"cs": "Tato ulice se stane cyklostezkou {cyclestreet:start_date}",
"ca": "Aquest carrer es convertirà un ciclocarrer el {cyclestreet:start_date}",
"pl": "Ta ulica stanie się ulicą rowerową {cyclestreet:start_date}",
"ko": "이 도로는 {cyclestreet:start_date}에 자전거 전용 도로로 전환될 예정입니다"
},
"condition": "proposed:cyclestreet=yes",
"freeform": {
"type": "date",
"key": "cyclestreet:start_date"
}
}
],
"pointRendering": [
{
"marker": [
{
"icon": {
"render": "./assets/themes/cyclestreets/F111.svg",
"mappings": [
{
"if": "traffic_sign=DE:244.1,1020-30",
"then": "./assets/themes/cyclestreets/Zeichen_244_1020-30.svg"
},
{
"if": "traffic_sign=DE:244.1,1022-12,1024-10",
"then": "./assets/themes/cyclestreets/Zeichen_244_KFZ_frei.svg"
},
{
"if": "traffic_sign=DE:244.1,1022-12",
"then": "./assets/themes/cyclestreets/Zeichen_244_1022-12.svg"
},
{
"if": "traffic_sign=DE:244.1,1024-10",
"then": "./assets/themes/cyclestreets/Zeichen_244_1024-10.svg"
},
{
"if": "_country=de",
"then": "./assets/themes/cyclestreets/Zeichen_244.svg"
},
{
"if": "_country=fi",
"then": "./assets/themes/cyclestreets/Finland_road_sign_E28.svg"
}
]
}
}
],
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": {
"or": [
"traffic_sign=DE:244.1,1020-30",
"traffic_sign=DE:244.1,1022-12,1024-10"
]
},
"then": "40,62,center"
},
{
"if": {
"or": [
"traffic_sign=DE:244.1,1022-12",
"traffic_sign=DE:244.1,1024-10"
]
},
"then": "40,70,center"
}
]
},
"location": [
"projected_centerpoint"
]
}
],
"lineRendering": [
{
"color": "#0000ff",
"width": "10"
}
],
"allowMove": false
}

View file

@ -451,71 +451,31 @@
"id": "is lit?"
},
{
"question": {
"en": "Is this a cyclestreet?",
"nl": "Is dit een fietsstraat?",
"de": "Ist das eine Fahrradstraße?",
"es": "¿Es esta una calle para bicicletas?",
"fr": "Est-ce une route cyclable ?",
"ca": "Açò és un ciclocarrer?",
"cs": "Je toto cyklostezka?"
},
"condition": {
"and": [
"highway!=cycleway",
"highway!=path",
"highway!=footway"
]
},
"mappings": [
{
"if": "cyclestreet=yes",
"then": {
"en": "This is a cyclestreet, and a 30km/h zone.",
"nl": "Dit is een fietsstraat, en dus een 30km/h zone",
"de": "Dies ist eine Fahrradstraße in einer 30km/h Zone.",
"es": "Esta es una calle para bicicletas, y una zona de 30 km/h",
"fr": "C'est une rue cyclable, et une zone à 30 km/h.",
"ca": "Açò és un ciclocarrer, i una zona de 30km/h.",
"cs": "Jedná se o cyklostezku a zónu s rychlostí 30 km/h."
},
"addExtraTags": [
"overtaking:motor_vehicle=no",
"maxspeed=30"
],
"hideInAnswer": "_country!=be"
},
{
"if": "cyclestreet=yes",
"then": {
"en": "This is a cyclestreet",
"nl": "Dit is een fietsstraat",
"de": "Dies ist eine Fahrradstraße",
"es": "Esta es una calle para bicicletas",
"fr": "Ceci est une route cyclable",
"ca": "Açò és un ciclocarrer",
"cs": "Tohle je cyklostezka"
},
"hideInAnswer": "_country=be"
},
{
"if": "cyclestreet=",
"then": {
"en": "This is not a cyclestreet.",
"nl": "Dit is geen fietsstraat",
"de": "Dies ist keine Fahrradstraße.",
"es": "Esta no es una calle para bicicletas",
"fr": "Ceci n'est pas une rue cyclable (vélorue)",
"ca": "Açò no és un ciclocarrer.",
"cs": "Toto není cyklostezka."
},
"addExtraTags": [
"overtaking:motor_vehicle="
"id": "is_cyclestreet_road",
"builtin": "cyclestreets.is_cyclestreet",
"override": {
"condition": {
"and": [
"highway!=cycleway",
"highway!=path",
"highway!=footway"
]
}
],
"id": "Is this a cyclestreet? (For a road)"
},
"mappings": [
{},
{},
{},
{},
{
"hideInAnswer": true
},
{
"hideInAnswer": true
}
]
}
},
"cyclestreets.supplementary_sign",
{
"render": {
"en": "The maximum speed on this road is {maxspeed} km/h",
@ -2011,4 +1971,4 @@
"cs": "silnice nebo cyklostezka",
"ca": "una carretera o un carril bici"
}
}
}