[openstreetmap/openstreetmap-website] Filter out invisible nodes and ways during initial selection (PR #5589)
mmd
notifications at github.com
Sun Feb 16 16:41:55 UTC 2025
mmd-osm left a comment (openstreetmap/openstreetmap-website#5589)
> [...] if they were part of an invisible way that had nodes inside the bounding box [...]
Tbh, I don't really understand this use case, and I didn't find a corresponding unit test for this specific scenario.
As soon as we delete a way (which sets the `current_way` table's `visible` flag to false), we also delete all entries in the `current_way_nodes` table for this way. An invisible way doesn't have any nodes at all, in particular not inside the bounding box.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5589#issuecomment-2661517554
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5589/c2661517554 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250216/fb6df570/attachment.htm>
More information about the rails-dev
mailing list