Skip to content
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

Merged
merged 12 commits into from
Aug 9, 2023
Merged

Add tactile_paving on crossing questions #194

merged 12 commits into from
Aug 9, 2023

Conversation

wielandb
Copy link
Contributor

@wielandb wielandb commented Jul 20, 2023

This PR adds questions that ask for tactile paving on railway=tram_crossing, railway=crossing and highway=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:

  • The tram crossing node (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)
  • The street-footway crossing node (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)
  • The train crossing node (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)
  • A footway is the crossing way (footway=crossing) and has no tactile_paving, and it has no children that either have kerb or tactile_paving set.

@wielandb
Copy link
Contributor Author

Q: Is the current kerb tactile paving image sufficient? Or should a new photo be taken showing a crossing with tactile paving?

@wielandb wielandb changed the title Add tactile paving on crossings question Add tactile_paving on ``crossings question Jul 20, 2023
@wielandb wielandb changed the title Add tactile_paving on ``crossings question Add tactile_paving on railway=tram_crossings question Jul 20, 2023
@wielandb wielandb changed the title Add tactile_paving on railway=tram_crossings question Add tactile_paving on crossing questions Jul 20, 2023
@Robbendebiene Robbendebiene marked this pull request as draft July 21, 2023 13:36
@wielandb wielandb marked this pull request as ready for review July 28, 2023 10:41
"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"
Copy link
Member

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.

Comment on lines 2925 to 2938
"!child": [
{
"osm_tags": {
"kerb": true
},
"osm_element": "Node"
},
{
"osm_tags": {
"highway": "crossing"
},
"osm_element": "Node"
}
]
Copy link
Member

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?",
Copy link
Member

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?"

Comment on lines 2901 to 2906
{
"osm_tags": {
"kerb": true
},
"osm_element": "Node"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation is wrong.

@wielandb
Copy link
Contributor Author

wielandb commented Aug 4, 2023

The PR now asks the question in the following situations:

  • Nodes that are a Railway-Footway-Crossing
  • Nodes that are a Tramway-Footway-Crossing
  • Nodes that are a Street-Footway-Crossing

The question for footway=crossing has been removed, in consistency with StreetComplete

@Robbendebiene Robbendebiene merged commit eeadfa4 into OPENER-next:master Aug 9, 2023
3 checks passed
yulieth9109 pushed a commit to yulieth9109/OpenStop that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants