]> git.openstreetmap.org Git - rails.git/commit
Use a local lookup table for country bounding boxes rather than relying
authorTom Hughes <tom@compton.nu>
Mon, 11 May 2009 16:50:09 +0000 (16:50 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 11 May 2009 16:50:09 +0000 (16:50 +0000)
commited68d524de0703685ff15f1ab574c61ec67e2c22
tree9382e19241fa57e0c28b17bea09f5a95ad919578
parent535bc8f1d87fe9aa5388006da463b667cb553339
Use a local lookup table for country bounding boxes rather than relying
on geonames.org being able to do it in a reasonable time.
app/models/country.rb [new file with mode: 0644]
db/migrate/031_create_countries.rb [new file with mode: 0644]
lib/osm.rb
test/fixtures/countries.yml [new file with mode: 0644]
test/unit/country_test.rb [new file with mode: 0644]