[openstreetmap/openstreetmap-website] Serve only trackable and identifiable points and add cursor pagination to the trackpoints API (PR #7322)

Tom Hughes notifications at github.com
Wed Sep 16 23:19:53 UTC 2026


tomhughes left a comment (openstreetmap/openstreetmap-website#7322)

My take looking at it was that the subquery approach is just wrong - the very first version is almost certainly the best you're going to do.

That version could probably be improved a bit with an extra index but probably not a lot.

Fundamentally trying to do a high performance query that needs to use two indexes is always going to be difficult because there's just no really good way to execute such a query.

Hopefully the linestring version will be better by improving the performance of the geospatial side of the match.

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

Message ID: <openstreetmap/openstreetmap-website/pull/7322/c5705942916 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260916/6e41322e/attachment-0001.htm>


More information about the rails-dev mailing list