X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b03a3f8889d6f752881a24cd23e010a9ced89efc..2c5ffbaaaf5f61f8c8162f32ec0fc5a0ac0e7a21:/app/controllers/amf_controller.rb diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index b91052266..2bd98707a 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -172,8 +172,8 @@ EOF def whichways(args) xmin = args[0].to_f-0.01 ymin = args[1].to_f-0.01 - xmax = args[2].to+f-0.01 - ymax = args[3].to+f-0.01 + xmax = args[2].to_f+0.01 + ymax = args[3].to_f+0.01 ActiveRecord::Base.logger.info(" Bounding Box: #{xmin},#{ymin},#{xmax},#{ymax}")