[gdal-dev] Re: Cleaning up the tilefilename generation in gdal2tiles.py

Martin Krüger martin.krueger at gmx.com
Sat Apr 16 12:52:20 EDT 2011


>> 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).
>>      
> Are you sure about that? I do believe that gdal2tiles.py and MapTiler program
> based on gdal2tiles are particularly generating TMS tiles.
>
>    
You are right ,i am surprised that josm expects the tiles in 
google-format when loading backgrounds from  a  tms-url.

best regards
    martin krüger


More information about the gdal-dev mailing list