-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tactile_paving
on crossing questions
#194
Add tactile_paving
on crossing questions
#194
Conversation
Q: Is the current kerb tactile paving image sufficient? Or should a new photo be taken showing a crossing with tactile paving? |
tactile_paving
on ``crossings question
tactile_paving
on ``crossings questiontactile_paving
on railway=tram_crossing
s question
tactile_paving
on railway=tram_crossing
s questiontactile_paving
on crossing questions
Not "child of a parent", rather only "child"
"text": "Gibt es an beiden Seiten dieses Straßenbahn-Übergangs Bodenindikatoren?", | ||
"description": "Bodenindikatoren dienen vor allem Sehbehinderten als Warnung vor abgesenkten Bordsteinen oder Straßenüberquerungen und verhindern so ein unbewusstes Betreten der Fahrbahn.", | ||
"image": [ | ||
"assets/images/questions/tactile_paving_on_kerb.jpg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Find an image for tactile paving on rails. I think @7h30n3 already has one.
"!child": [ | ||
{ | ||
"osm_tags": { | ||
"kerb": true | ||
}, | ||
"osm_element": "Node" | ||
}, | ||
{ | ||
"osm_tags": { | ||
"highway": "crossing" | ||
}, | ||
"osm_element": "Node" | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting
{ | ||
"question": { | ||
"name": "Übergangs-Bodenindikatoren", | ||
"text": "Gibt es an beiden Enden dieses Übergangsweges Bodenindikatoren?", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the important key word at the start of the question, e.g.:
"Gibt es Bodenindikatoren an beiden Enden des Übergangs?"
{ | ||
"osm_tags": { | ||
"kerb": true | ||
}, | ||
"osm_element": "Node" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation is wrong.
The PR now asks the question in the following situations:
The question for |
--------- Co-authored-by: René Apitzsch <[email protected]>
This PR adds questions that ask for tactile paving on
railway=tram_crossing
,railway=crossing
andhighway=crossing
.I hope I understood the syntax for the conditions correctly.
My idea was: Ask the question only if for every parent element, there is no child element where
kerb
is set.This should prevent the question from beeing asked on crossings where there are already kerbs mapped on the footway, where the question will be asked for the individual kerb elements.
Situations that theese questions are asked in:
railway=tram_crossing
) has no tactile_paving, and the parent (way) has no children that are Nodes and have (kerb=*
) (because if so, we should ask the question for the kerb-Nodes)highway=crossing
) has no tactile_paving, and the parent (way) has no children that are Nodes and have (kerb=*
) (because if so, we should ask the question for the kerb-Nodes)railway=crossing
) has no tactile_paving, and the parent (way) has no children that are Nodes and have (kerb=*
) (because if so, we should ask the question for the kerb-Nodes)footway=crossing
) and has no tactile_paving, and it has no children that either havekerb
ortactile_paving
set.