[openstreetmap/openstreetmap-website] Add the ability to limit changeset size (PR #4908)
mmd
notifications at github.com
Wed Jun 19 17:50:10 UTC 2024
The discussion in #4910 highlights an important point: since the db function only returns the size, the bounding box size calculation needs to be implemented twice now. In case there are some changes (like the discussion in #4910 hints towards), we would have to change it in Rails and CGImap.
Initially, i thought it might be a good idea to simply pass some combination of user_id, min_lat, min_lon, max_lat, max_lon bbox values as a parameter to the database function, and let it figure out the rest.
Any chance we could adjust the db function in this way?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4908#issuecomment-2179241245
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4908/c2179241245 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240619/d1dbb8af/attachment.htm>
More information about the rails-dev
mailing list