[openstreetmap/openstreetmap-website] Extend GPX API to allow user specific downloads in a bounding box (#2395)

MikeParfitt notifications at github.com
Thu Jun 4 06:19:04 UTC 2020


As a retired SQL-server developer I understand the importance of not degrading the performance of everybody elses use of the existing tool.  If the track point retrieval tool is implemented via a stored procedure, then can an optional parameter can be added to supply a user id ?  If so, then the presence of a value in this parameter can be used to switch to  a new query whose optimisation is different and is driven from the files table by user before joining to the trackpoints table.  If the database server cannot accept optional parameters, then clone the existing query and create a new one.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2395#issuecomment-638627091
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200603/73dfbe50/attachment-0001.htm>


More information about the rails-dev mailing list