[gdal-dev] Re: Strange behavior of gdalwarp with -overwrite option
alexander.bruy at gmail.com
Wed Nov 9 01:59:29 EST 2011
2011/11/8 Even Rouault <even.rouault at mines-paris.org>:
> And you spend half and hour understanding why it has not been reprojected in
> EPSG:YYYY. The default behaviour being that once the target dataset exists, it
> is only updated, but not modified in depth.
> gdalwarp something.tif something.tif -t_srs EPSG:XXXX makes no sense, with or
> without -overwrite (and -overwrite will actually kill your target, ahem,
> source - since source=target - as you have seen !). Reprojection in place
> cannot work. You must specify a different target dataset. I can imagine that a
> safety check would make sense to detect such obvious error...
Thanks for clarification. So answer on my question is: in place reprojection not
working and -overwrite option only necessary if I want to recreate output image
(not usefull IMHO, because I can specify another one output).
More information about the gdal-dev