Re: [gdal-dev] gdal2tiles: tiles in wrong hemisphere, and/or Openlayers problem

2011-11-10 Thread Even Rouault
> At the moment I'm wondering if there are bugs in both gdal2tiles.py and > http://www.openlayers.org/api/2.7/OpenLayers.js I think there's a bug in none of them ;-) You just have run into this embarrassing mess where OpenStreetMap and TMS tile numbering convention are different. In TMS, tile 0

[gdal-dev] gdal2tiles: tiles in wrong hemisphere, and/or Openlayers problem

2011-11-10 Thread geep999
Hi, I'm having big problems understanding what's happening with tiles created by gdal2tiles.py --version GDAL 1.8.1, released 2011/07/09 Running on Slackware 13.37 64 bit. The results of tiling a colour relief look OK: http://pgg999.freehostingcloud.com/tiles4_srtm/openlayers.html http://pgg999.fr