-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 public_transport tag to the bus_stop preset #4566
Conversation
My concern about this is that it would allow any of the Maybe a better solution would be to split the bus stop preset into two presets - a vertex one that would automatically add |
Just realized this relates to #3041 too |
Ok. I like very much your counterproposal, this would be even simpler for the user 👍 How do we move on with this ? Do I need to convert this to an issue, so that we can have a proper discussion ? Can I change my current PR to do what you proposed ? |
I agree, but we need to limit this to vertexes of a road in order to allow an automatic separation from the platform one.
I think the platform node can also be a vertex, e.g. of a footway, kerb, shelter etc.
Hiding public transport complexity is quite desirable, but using the same preset name seems to add even more complexity because both presets have to be handled differently in view of role and position in the route relations. In addition a common name for both presets would prevent a smooth transition to other or mixed public transport modes. |
Hmm, yeah @slhh good points. What if we made the 2 presets "Bus Stop Platform" and "Bus Stop Position"... platform can be any geometry, and position must be vertex only. For now, we can't enforce that the stop position vertex must be a road. |
Some of the approved public transport rules are a nightmare.
|
First simplification approch: The public transport proposal didn't deprecate highway=busstop, but it seems to be designed to do so later. If we omit/deprecate highway=busstop, the optional public transport tags
We could call the presets "Bus Stop Position" and "Bus Stop Platform" then. Unfortunately, there is a drawback in omitting the highway=bus_stop tag. Rendering bus stops based on the public transport tags is quite hard, and currently not supported by the Carto style. We would likely need another change to public transport to simplify this rendering. |
Second simplification approch: If we omit/deprecate highway=busstop for bus_stop with mapped platform, but keep it for the vertex representing the whole bus_stop, we can condense the 5 cases to 3 cases:
We could call the presets "Bus Stop (simplified)" and "Bus Stop Platform", and "Bus Stop Position" then. The rendering issue would be easy to be solved because highway=bus_stop and public_transport=platform plus bus=yes can both be rendered as a bus stop. |
Third simplification approch: The highway=bus_stop tag is currently defined for nodes only. If we break with this rule, and allow it to be used for lines and areas too, we can always put it on the platform, where a platform is mapped. We can condense the 5 cases to 3 cases then:
We could call the presets "Bus Stop (simplified)" and "Bus Stop Platform", and "Bus Stop Position" then. |
I'm just going to do something like this ☝️ It seems easy and I think this matches up with @slhh's third comment. Thanks for kicking off this discussion @nlehuby 👍 |
This PR add a field to the bus stop preset, to fill the public_transport tag
![ptv2](https://user-images.githubusercontent.com/919962/33239903-a1dc0e56-d2ac-11e7-8c22-34c5d306f12a.png)
Do I need to do something more to handle the translations ?
I did not manage to get the tests run, it gets stuck at the
iD.uiFieldWikipedia
doing nothing 😣