[gdal-dev] Re: How to divide a raster layer into a set of tiles?

Gilles Bassière gbassiere at gmail.com
Tue Mar 23 04:41:19 EDT 2010


Christian Müller wrote:
> gdal_retile.py definitely creates georeferenced tiles, I developed this
> utility.
> I did some experiments reprojecting the single tiles while retiling, but
> it simply does not work. As a consequence I canceled the reprojecting
> support.
> The solution for your problem is:
> 1) Use gdal_merge to create the big image
> 2) reproject with gdal_warp
> 3) use gdal_retile to create your new tiles
> I did a lot of experiments to avoid creating the big picture without
> success.

I understand. In my case, gdal_retile.py eventually crashed with a
Python MemoryError. I assume it is unsurprising with a 7.5GB input for a
single Python process.

> 
> Even Rouault writes:
>> Le Monday 22 March 2010 19:35:47 Gilles Bassière, vous avez écrit :
>>> Hi,
>>> The problem with this workflow is that it creates non-georeferenced
>>> tiles (I don't know if this is the intended behaviour of this command).
>>
>> gdal_retile.py *does* create georeferenced tiles. I've just verified
>> it. What make you think the contrary ?
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Gilles Bassière - Web/GIS software engineer
http://gbassiere.free.fr/


More information about the gdal-dev mailing list