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/c2371903...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev