X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..aef5273e952b814e171beab7c7d6ee09637350fb:/lib/geo_record.rb diff --git a/lib/geo_record.rb b/lib/geo_record.rb index e4a66f932..e02734ec9 100644 --- a/lib/geo_record.rb +++ b/lib/geo_record.rb @@ -29,6 +29,7 @@ module GeoRecord def in_world? return false if lat < -90 || lat > 90 return false if lon < -180 || lon > 180 + true end