[openstreetmap/openstreetmap-website] `highway=raceway` is rendered as an area if it's closed (Issue #5931)
Tom Hughes
notifications at github.com
Mon Apr 14 09:41:09 UTC 2025
tomhughes left a comment (openstreetmap/openstreetmap-website#5931)
Oh I see - the problem is you used the term "rendered" which is something we normally use when talking about the underlying map.
The code that draws data layer objects (the orange highlight) is just a very basic heuristic and doesn't attempt to do lots of clever tag interpretation because that would be a never ending quest to deal with every weirdness.
As it happens it's also not in this repository, it is in https://github.com/openstreetmap/leaflet-osm.
In this case the issue is the `sport` tag because per https://github.com/openstreetmap/leaflet-osm/blob/master/leaflet-osm.js#L91 anything with that tag is considered an area.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5931#issuecomment-2801107234
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5931/2801107234 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250414/def174e2/attachment-0001.htm>
More information about the rails-dev
mailing list