[gdal-dev] Cleaning up the tilefilename generation in gdal2tiles.py
    Martin Krüger 
    martin.krueger at gmx.com
       
    Wed Apr 13 15:29:42 EDT 2011
    
    
  
Hello
I was in need to generate tiles from a geotiff to publish the image as a
tms-service. So i was happy to find the gdal2tiles.py script which does
the job.
The only issue i stumbled over:
gdal2tiles.py generates the tiles in the google format(0,0=top-left) , i
need the tms format(0,0=bottom-left). I  looked at the script  and found
 something not  so nice:
The generation of the tile-filename is with redundancy of 3 times  in
the script.
So i wrote a little patch to keep the generation of the tile-filename in
a single place.  This is a better base for further development of the
script.
best regards
   martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup_tilefilename.patch
Type: text/x-patch
Size: 1693 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110413/1f3ea2b1/cleanup_tilefilename.bin
    
    
More information about the gdal-dev
mailing list