[OSM-dev] Code to determine tile boundaries?

Hakan Tandogan hakan at gurkensalat.com
Mon Feb 26 11:05:26 GMT 2007


Hi,


I need to determine the boundaries of a given (z-12) tile at home tile.
Reversing the equatation for mapping longitutes to the x coordinate is
easy, but I can't find a way to map latitudes to the y coordinate (except
calculating all possible tiles and caching the southern latitude).

Is there some code somewhere in svn that I could adapt?


Regards,
Hakan

-- 
The key to immortality is first living a life worth remembering...






More information about the dev mailing list