<font class="fixed_width" face="Courier, Monospaced">Dear all <br> </font><p><font class="fixed_width" face="Courier, Monospaced">I&#39;m trying to use gdal2tiles.py and it seems --zoom parameter is not <br> working. <br> </font></p>

<p><font class="fixed_width" face="Courier, Monospaced">The testing configuration is: <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">Ubuntu 9.10 <br> python 2.6.4 <br> gdal 1.7.1 compiled from source with ECW support <br>

 </font></p><p><font class="fixed_width" face="Courier, Monospaced">gdal2tiles.py header is <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">#  $Id: gdal2tiles.py 18194 2009-12-06 20:07:45Z rouault $ <br>

 </font></p><p><font class="fixed_width" face="Courier, Monospaced">If I run gdal2tiles without the --zoom parameter the output image <br> files are ok and I can preview any level without problem. The syntax <br> used for the TMS production is <br>

 </font></p><p><font class="fixed_width" face="Courier, Monospaced">gdal2tiles.py -r cubic -p raster source_dataset.ecw SOURCE_DATASET <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">If I run with this syntax <br>

 </font></p><p><font class="fixed_width" face="Courier, Monospaced">gdal2tiles.py -r cubic -p raster --zoom 0 ritaglio.ecw RITAGLIO <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">the output TMS contains a 0 level with a picture quite different form <br>

 those in the previous TMS 0 level. It seems like the image is strtched <br> up and left. <br> am I making some error? <br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">Thanks in advance for any hints <br>

 </font></p><font class="fixed_width" face="Courier, Monospaced">Stefano </font>