Tiling Large Rasters

jan hartmann j.l.h.hartmann at UVA.NL
Fri Oct 1 07:26:24 EDT 2004


Titus von der Malsburg wrote:
> Hi,
>
> normally I tile raster images with a little script that uses netpbm to
> load the data und cut out the tiles.  But now I have an image to tile
> that is too large to be loaded into memory.
>
> Actually it should be possible to do the tiling with constant memory
> consumption (ammount of memory not depending on the size of the image).
>
> Is there any software out there that accomplishes this task?
>
> I looked briefly into the documentation of Grass but couldn't find
> anything.
>
> Thanks,
>         Titus
>
Hi Titus,

You can  gdal_translate to cut out tiles (gdal_translate -projwin x1 y2
x2 y1) and put that in a script looping over the x/y values. AFAIK
gdal_translate only reads the current line into memory. Note that in the
parameter list upper y  precedes lower y

Jan



More information about the mapserver-users mailing list