[Gdal-dev] create 256x256 tiles for google maps

Mateusz Loskot mateusz at loskot.net
Sat Apr 7 12:37:25 EDT 2007


Markus Neteler wrote:
> On Thu, Apr 05, 2007 at 09:43:57PM +0200, Mateusz Loskot wrote:
>> Paul Van Deusen napisa?(a):
>>> I am using imagemagick to crop a geotiff file into 256x256 gif files to
>>> serve as tiles for google maps.
>>> However, it starts to choke once the tiff file gets larger than  1/2
>>> GB.   Can gdal_translate take
>>> a tif file and split it into individual tile files of a specific size?
>> Paul,
>>
>> AFAIK, GDAL won't help here out of the box.
>> Users usually take gdal_translate.cpp program and customize it to do this
>> job.
>> Here you can find such utility called gdalsplit and posted to the list a
>> longer while ago:
>>
>> http://lists.maptools.org/pipermail/gdal-dev/2004-September/004135.html
>>
>> May be it will work for you.
> 
> If anyone happens to haave an updated version of "gdalsplit"
> I would be interested.
> Maybe some mechanism to manage user contributions would be
> good (like the GRASS Addons repository).


Folks,

I cleaned, updated and tested Homme's gdalsplit utility.
Here it is submitted as an enhancement with source code + patches for
makefiles, if you'd like to integrate it with GDAL building system
easily:

http://trac.osgeo.org/gdal/ticket/1566

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list