[OSM-talk] bounding box requests, and failures

Tom Hughes tom at compton.nu
Wed Nov 28 17:40:18 GMT 2007


In message <2fc2c5f10711280922y13be73e1l6bddce2094d6e3b1 at mail.gmail.com>
          "Martijn van Oosterhout" <kleptog at gmail.com> wrote:

> On Nov 28, 2007 6:11 PM, Paul Fox <pgf at foxharp.boston.ma.us> wrote:
> > but i'm actually surprised that _either_ request works, since both
> > ask for over .35 degrees of lon/lat, which clearly exceeds the 0.25 listed
> > on the wiki page.
> 
> The 0.25 is (IIRC) calibrated to the latitude you're at. So at the
> equator it's exactly 0.25 but as you get further north/south the limit
> is higher (otherwise very far north even very small areas would never
> be able to be downloaded...)

No it isn't - the test is just:

  (maxlat - minlat) * (maxlon - minlon) > 0.25

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the talk mailing list