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

Tom Hughes notifications at github.com
Sun May 14 16:44:25 UTC 2023


Well https://github.com/openstreetmap/openstreetmap-website/blob/486e87301f16222aa5060b98950cf4df544db23a/app/helpers/browse_helper.rb#LL2C14-L2C14 is the current code for the name which is very simple as it only looks at `name` and `ref` tags.

Meanwhile https://github.com/openstreetmap/openstreetmap-website/blob/master/app/helpers/browse_tags_helper.rb is an example of what happened when we started handling certain tags specially to generate links, and that's just he tip of the iceberg as there are dozens of open tickets asking for other cases to be added to that.

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

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


More information about the rails-dev mailing list