[openstreetmap/openstreetmap-website] Add a gpx_tracks table and convert trace points into linestrings (PR #7348)
Ruben L. Mendoza
notifications at github.com
Thu Sep 3 09:57:15 UTC 2026
@Rub21 commented on this pull request.
> + segments = ApplicationRecord.transaction do
+ trace.gpx_tracks.delete_all
+
+ ApplicationRecord.connection.exec_update(sql, "InsertGpxTracks")
+ end
+
+ logger.info "No segments inserted for trace #{trace.id}" if segments.zero?
+
+ segments
Make sense, fixed!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7348#discussion_r3923318625
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7348/review/5100460611 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260903/05f76b96/attachment-0001.htm>
More information about the rails-dev
mailing list