[openstreetmap-website] Redirect too large map calls (#632)

Roland Olbricht notifications at github.com
Fri Dec 6 07:40:30 UTC 2013

The patch was unfortenately screwed up by Markdown. It consists of replacing a single line

-      report_error("You requested too many nodes (limit is #{MAX_NUMBER_OF_NODES}). Either request a smaller area, or use planet.osm")


+      redirect_to "http://overpass-api.de/api/map?bbox=#{bbox.min_lon},#{bbox.min_lat},#{bbox.max_lon},#{bbox.max_lat}"

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131205/588b185e/attachment.html>

More information about the rails-dev mailing list