X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e78061cdba5cfb3f299f57b7643d2b396ee235b..5d67fa3908b835f7a2f099ca8525b64bcc9fe9e2:/lib/bounding_box.rb diff --git a/lib/bounding_box.rb b/lib/bounding_box.rb index 3b366dc1e..1350d69ba 100644 --- a/lib/bounding_box.rb +++ b/lib/bounding_box.rb @@ -64,7 +64,7 @@ class BoundingBox if min_lon < -LON_LIMIT || min_lat < -LAT_LIMIT || max_lon > +LON_LIMIT || max_lat > +LAT_LIMIT raise OSM::APIBadBoundingBox, "The latitudes must be between #{-LAT_LIMIT} and #{LAT_LIMIT}," \ - " and longitudes between #{-LON_LIMIT} and #{LON_LIMIT}" + " and longitudes between #{-LON_LIMIT} and #{LON_LIMIT}" end self end