[OSM-dev] Mapnik tile ordering

Martijn van Oosterhout kleptog at gmail.com
Sun Dec 9 11:08:37 GMT 2007


On Dec 9, 2007 5:15 AM, Diarmuid Wrenne <dwrenne at yahoo.com> wrote:
> I created an openlayers map and added in a TMS layer. The images are
> displaying but are coming in in the wrong order. So if i zoom in from 0 on
> south America, I get Brazil being displayed below Argentina, etc.

There are two different ways of numbering tiles on the Y-axis:
botton-to-top and top-to-bottom. Google uses one, OpenLayers.TMS uses
the other. You need to check you've got the same for both. For
tilecache you need to set the layer type to google, for OpenLayers you
may need to change it (it defaults to the opposite of google).

>  NOTICE: The information contained in this e-mail message and any attached
> files may be confidential information. If you are not the intended
> recipient, any use, disclosure or copying of this e-mail and any attached
> files is unauthorised. If you have received this e-mail in error, please
> notify me immediately by reply e-mail and delete the original.

Am I even allowed to be reading this message if it's confidential?

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list