To shift a raster GeoTIFF file e.g. input.tif with GDAL, do the following:
- Open up a Windows Command Prompt.
- Type in the gdal_translate command with the a_ullr option:
C:\> gdal_translate -a_ullr 760726.437 4557390.415 772996.466 4540826.364 input.tif translate.tif
Note:
translate.tif is the output filename
-a_ullr specifies the new upper left X, upper left Y, lower right X, lower right Y coordinates - Run the command.
Processing messages appear. The file is shifted to the new coordinates.
The file is shifted to the new coordinates.
No comments:
Post a Comment