[openstreetmap/openstreetmap-website] Add a limit on the number of points in a GPS trace (PR #4536)

Tom Hughes notifications at github.com
Sat Feb 24 14:36:44 UTC 2024


Currently I've set the default limit at 10 million points - we have exactly one trace larger than that in the database and this is from about seven years ago. In fact there are only two with over 5 million points.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4536

-- Commit Summary --

  * Add a limit on the number of points in a GPS trace

-- File Changes --

    M app/models/trace.rb (2)
    M config/settings.yml (2)
    M lib/gpx.rb (10)
    M test/models/trace_test.rb (12)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4536.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4536.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/4536 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240224/c17cac65/attachment.htm>


More information about the rails-dev mailing list