]> git.openstreetmap.org Git - rails.git/commit
Refactor bounding box code
authorPeter Gray <pdgtips@gmail.com>
Mon, 24 Oct 2011 09:45:56 +0000 (10:45 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:57 +0000 (09:42 +0000)
commit95d899786a1bbabacc0cd12ef1c4814118d9d0de
tree7a1c54e70777ebae685a1a252cd36c7ecd5a139b
parentd70fd8ab1a07d842603b820d8ce7d0e5be9f976d
Refactor bounding box code

Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
21 files changed:
app/controllers/amf_controller.rb
app/controllers/api_controller.rb
app/controllers/changeset_controller.rb
app/controllers/export_controller.rb
app/controllers/site_controller.rb
app/models/changeset.rb
app/models/node.rb
app/models/way.rb
app/views/browse/_changeset_details.html.erb
app/views/browse/_map.html.erb
app/views/changeset/_map.html.erb
app/views/changeset/list.atom.builder
lib/bounding_box.rb
lib/geo_record.rb
lib/map_boundary.rb [deleted file]
lib/osm.rb
lib/quad_tile.rb
lib/quad_tile/quad_tile.c
test/functional/relation_controller_test.rb
test/unit/bounding_box_test.rb [new file with mode: 0644]
test/unit/way_test.rb