-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 destination_sign relation preset #6970
Comments
By the way, there’s also a lesser-used |
I was not aware of that relation but thanks for pointing it out. From the wiki: "The other "destination_sign" relations focus on the physical appearance of the signs and require one relation for every sign. Other users might be interested in the area covered by signs pointing to any particular destination, in other words the network of ways leading there." How to properly differentiate it may be difficult as a preset. However, there are currently less than 300 of these relations in the database and it has not gone through a proposal yet so I don't see it to be nearly as mature as destination_sign. Edit: however we should probably find a way to differentiate them regardless |
@GenericError note that you should be adding handling for properly splitting member ways too (this is necessary because for "unknown" reasons the via element has the role intersection). |
Ah yeah it would be better if they could change these destination sign relations to instead be There is special code in iD to avoid breakage when extracting nodes, or connecting and disconnecting constituent ways - but this only works for relation types with a from/via/to. We have this problem with enforcement relations too. 😓 |
I suspect that should be 'transition'
While there are from and to roles, they are supposed to be nodes if I'm reading the spec correctly and I'm fairly sure that for the rest the default splitting behaviour is OK, well at least it is not going to break something important. |
Am I right in assuming that this handling the splitting will be difficult to implement? Or would it probably be a case of duplicating the code for the other bit and changing it to only care about "destination_sign" relations?
From what I have seen other use and what I have used myself, ways tend to be used for |
https://taginfo.openstreetmap.org/relations/enforcement#roles would indicated that that roughly 3% of the from/to roles are erroneously used on ways, with other words I don't see anything wrt enforcements relations would warrant special casing them. |
Although destination_sign is different to enforcement and is used mainly with ways with what I can see from taginfo? |
See #6970 (comment) my response to bhousel suggesting that enforcement might have a similar issue, which it doesn't. |
(For completeness’ sake, |
Why are there two fields (strings on Transifex) with the same name? Destinations | destination=*
Destination Road Numbers | 'destination:ref=*
Destination Symbols | 'destination:symbol=*'
|
@maro-21 These fields are identical but one appears only if the |
Do we need separate fields for one way? Can't we remove one of them? |
We need the oneway restriction since |
Ah, I see. |
There are currently 73,726 relations with destination_sign type in the OSM database. It is also a long-standing feature within OSM but is notably missing from iD. I suggest that it should be added.
I am currently modifying a fork of the repo to add this, should the idea be approved, however am not ready to pull request as yet.
The text was updated successfully, but these errors were encountered: