[openstreetmap/openstreetmap-website] Automatically generate PTv2 relations name (Issue #4033)

Minh Nguyễn notifications at github.com
Thu Jun 27 04:52:14 UTC 2024


For what it’s worth, the iD code looks for the same set of potential keys regardless of the element type. The set could be expanded somewhat to handle some rare edge cases, such as `unsigned_ref`, but it hasn’t turned out to be a very slippery slope. `from`, `via`, and `to` cover a lot of possibilities in practice, even if some things could have more specialized keys. (Also, iD’s labeling code happens to be used for the map view; it doesn’t make a lot of sense to label things on a map based on completely arbitrary keys.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4033#issuecomment-2193693128
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4033/2193693128 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240626/f01155c7/attachment.htm>


More information about the rails-dev mailing list