[openstreetmap/openstreetmap-website] Process trace files once (PR #5233)
Tom Hughes
notifications at github.com
Tue Sep 24 17:33:13 UTC 2024
I think this winds up with quite a confused interface - you can now read multiple files into a GPX object and they get appended to the set of points which is a perfectly valid design but if you're going to go that way then I don't think read should also be calling the callback for each point.
Either the object should represent a file as before and there should be a call to iterate the points in the file, or you should be able to add multiple files and then iterate the points in one go.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5233#issuecomment-2371903131
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5233/c2371903131 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240924/80747e70/attachment.htm>
More information about the rails-dev
mailing list