[openstreetmap/openstreetmap-website] Calculate bounding box when deleting relations (#2030)

Simon Poole notifications at github.com
Sun Oct 21 12:50:21 UTC 2018


Fixes https://github.com/openstreetmap/openstreetmap-website/issues/2020

This uses the original members in a relation to calculate a bounding box when the relation is deleted and adds a test for this.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Calculate bounding box when deleting relations

-- File Changes --

    M app/models/relation.rb (10)
    M test/models/relation_test.rb (26)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181021/2b3be4cf/attachment.html>


More information about the rails-dev mailing list