gdalwarp for tiling rasters

Jan Hartmann j.l.h.hartmann at UVA.NL
Fri Oct 8 04:30:55 PDT 2004


joerg p wrote:
>
> Thanks a lot for your explanation!
>
> But I thought, since I have lots of overlapping parts, I should first
> merge and than tile?
>
> Joerg
>

No, that doesn't make any difference. If you merge two files with
overlapping parts, the second one will hide everything from the first
one in the overlapping part. THe same goes for gdalwarp, only here you
have more possibilities to set the extent etc of the output file.

Actually, I'm not sure if gdalwarp couldn't do everything that
gdal_merge.py does now. gdal_merge.py has a few extra options, but
couldn't these easily be added to gdalwarp? In that case we would have a
general merging and warping tool without dependencies on python.

Jan



More information about the MapServer-users mailing list