Splitting/tiling a raster
Bart van den Eijnden
BEN at SYNCERA-ITSOLUTIONS.NL
Tue Jul 12 02:47:52 PDT 2005
Hi Stefan,
since gdal_translate has the option to select a subwindow (srcwin) from your sourcefile, you can use it to split your raster file into subimages.
http://www.gdal.org/gdal_utilities.html#gdal_translate
After that, you do use gdaltindex to create a tileindex. That part is described in the raster howto:
http://mapserver.gis.umn.edu/doc44/raster-howto.html
Btw, what is the exact reason you want to split up your raster? Performance?
Best regards,
Bart
Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG DELFT
tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Stefan Schwarzer <stefan.schwarzer at GRID.UNEP.CH> 07/12/05 11:39am >>>
Hi,
this subject is really not new. But I haven't found any real how-to
for the whole story. Perhaps somebody could clarify the steps needed.
when starting with an image of some larger size and when ending with
a tiled raster. Cause I guess that' what has to be done.
- At least I have now one single big raster. As far as I understood I
need to split the big image into smaller ones. But how?
- And then I can use gdaltindex to build the shapefile to define the
tiles. Right?
Thanks for clarification.
More information about the MapServer-users
mailing list