- report_error("The maximum bbox size is " + MAX_REQUEST_AREA.to_s + ", and your request was too large. Either request a smaller area, or use planet.osm")
+ report_error("The maximum bbox size is " + MAX_REQUEST_AREA.to_s + ", and your request was too large. Either request a smaller area, or use planet.osm")
return
end
return
end
@@ -56,7+57,7 @@ class ApiController < ApplicationController
node_ids = nodes.collect {|node| node.id }
if node_ids.length > 50_000
node_ids = nodes.collect {|node| node.id }
if node_ids.length > 50_000
- report_error("You requested too many nodes (limit is 50,000). Either request a smaller area, or use planet.osm")
+ report_error("You requested too many nodes (limit is 50,000). Either request a smaller area, or use planet.osm")
end
# grab the segments
end
# grab the segments
@@ -88,8+89,8 @@ class ApiController < ApplicationController