Hi All, I'm trying to get tile coordinates of lat/lon points on various zoom level maps using the code shown in the OSM wiki. I started testing with the following python code from the OSM wiki: -- code ------------------
-- end code -------------- This code, when run, shows this:
Note that the values for latitudes greater than 86.0 degrees return NEGATIVE tile coordinates. I don't see any indication that the OSM formula is valid only if abs(lat) <= 85 degrees, so what am I doing wrong? Or is this a known limitation of the geomapping? |
See https://en.wikipedia.org/wiki/Mercator_projection you will need to use a different projection if you want to display the pole regions. |