forked from MapComplete/MapComplete
Added questions about island, tactile paving and traffic light
This commit is contained in:
parent
f4d5557534
commit
2de8e98deb
6 changed files with 104 additions and 33 deletions
12
Svg.ts
12
Svg.ts
File diff suppressed because one or more lines are too long
|
@ -37,13 +37,13 @@
|
|||
]
|
||||
},
|
||||
"icon": {
|
||||
"render": "./assets/svg/pedestrian_crossing.svg",
|
||||
"render": "./assets/layers/crossings/pedestrian_crossing.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": ["highway=traffic_signals", "crossing=traffic_signals"]
|
||||
},
|
||||
"then": "./assets/svg/traffic_lights.svg"
|
||||
"then": "./assets/layers/crossings/traffic_lights.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -94,6 +94,85 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "Does this crossing have an island in the middle?",
|
||||
"nl": "Heeft deze oversteekplaats een verkeerseiland in het midden?"
|
||||
},
|
||||
"condition": "highway=crossing",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "crossing:island=yes",
|
||||
"then": {
|
||||
"en": "This crossing has an island in the middle",
|
||||
"nl": "Deze oversteekplaats heeft een verkeerseiland in het midden"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "crossing:island=no",
|
||||
"then": {
|
||||
"en": "This crossing does not have an island in the middle",
|
||||
"nl": "Deze oversteekplaats heeft niet een verkeerseiland in het midden"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "Does this crossing have tactile paving?",
|
||||
"nl": "Heeft deze oversteekplaats een geleidelijn?"
|
||||
},
|
||||
"condition": "highway=crossing",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "tactile_paving=yes",
|
||||
"then": {
|
||||
"en": "This crossing has tactile paving",
|
||||
"nl": "Deze oversteekplaats heeft een geleidelijn"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "tactile_paving=no",
|
||||
"then": {
|
||||
"en": "This crossing does not have tactile paving",
|
||||
"nl": "Deze oversteekplaats heeft niet een geleidelijn"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "tactile_paving=incorrect",
|
||||
"then": {
|
||||
"en": "This crossing has tactile paving, but is not correct",
|
||||
"nl": "Deze oversteekplaats heeft een geleidelijn, die incorrect is."
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "Does this traffic light have a button to request green light?",
|
||||
"nl": "Heeft dit verkeerslicht een knop voor groen licht?"
|
||||
},
|
||||
"condition": {
|
||||
"or": ["highway=traffic_signals", "crossing=traffic_signals"]
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "button_operated=yes",
|
||||
"then": {
|
||||
"en": "This traffic light has a button to request green light",
|
||||
"nl": "Dit verkeerslicht heeft een knop voor groen licht"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "button_operated=no",
|
||||
"then": {
|
||||
"en": "This traffic light does not have a button to request green light",
|
||||
"nl": "Dit verkeerlicht heeft niet een knop voor groen licht"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
22
assets/layers/crossings/license_info.json
Normal file
22
assets/layers/crossings/license_info.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
{
|
||||
"authors": [
|
||||
"Tobias Zwick"
|
||||
],
|
||||
"path": "pedestrian_crossing.svg",
|
||||
"license": "CC-BY-SA 4.0",
|
||||
"sources": [
|
||||
"https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/quest%20icons/pedestrian_crossing.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"authors": [
|
||||
"Tobias Zwick"
|
||||
],
|
||||
"path": "traffic_lights.svg",
|
||||
"license": "CC-BY-SA 4.0",
|
||||
"sources": [
|
||||
"https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/quest%20icons/traffic_lights.svg"
|
||||
]
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
@ -342,16 +342,6 @@
|
|||
"https://www.vecteezy.com/vector-art/226361-ornaments-and-flourishes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"authors": [
|
||||
"Tobias Zwick"
|
||||
],
|
||||
"path": "pedestrian_crossing.svg",
|
||||
"license": "CC-BY-SA 4.0",
|
||||
"sources": [
|
||||
"https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/quest%20icons/pedestrian_crossing.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"authors": [],
|
||||
"path": "star.svg",
|
||||
|
@ -376,16 +366,6 @@
|
|||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
},
|
||||
{
|
||||
"authors": [
|
||||
"Tobias Zwick"
|
||||
],
|
||||
"path": "traffic_lights.svg",
|
||||
"license": "CC-BY-SA 4.0",
|
||||
"sources": [
|
||||
"https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/quest%20icons/traffic_lights.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"authors": [],
|
||||
"path": "logo.svg",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue