1GDALMOVE(1)                          GDAL                          GDALMOVE(1)
2
3
4

NAME

6       gdalmove - Transform georeferencing of raster file in place.
7

SYNOPSIS

9          gdalmove.py [-s_srs <srs_defn>] -t_srs <srs_defn>
10                      [-et <max_pixel_err>] <target_file>
11

DESCRIPTION

13       The  gdalmove.py script transforms the bounds of a raster file from one
14       coordinate system to another, and then updates  the  coordinate  system
15       and  geotransform of the file. This is done without altering pixel val‐
16       ues at all. It is loosely similar to using gdalwarp to transform an im‐
17       age but avoiding the resampling step in order to avoid image damage. It
18       is generally only suitable for  transformations  that  are  effectively
19       linear in the area of the file.
20
21       If  no error threshold value (-et) is provided then the file is not ac‐
22       tually updated, but the errors that would be incurred are reported.  If
23       -et  is provided then the file is only modify if the apparent error be‐
24       ing introduced is less than the indicate threshold (in pixels).
25
26       Currently the transformed geotransform is computed based on the  trans‐
27       formation  of  the  top left, top right, and bottom left corners. A re‐
28       duced overall error could be produced using a least squares fit  of  at
29       least all four corner points.
30
31       -s_srs <srs_defn>
32              Override  the  coordinate  system of the file with the indicated
33              coordinate system definition.  Optional.  If  not  provided  the
34              source coordinate system is read from the source file.
35
36       -t_srs <srs_defn>
37              Defines  the  target  coordinate  system. This coordinate system
38              will be written to the file after an update.
39
40       -et <max_pixel_err>
41              The error threshold (in pixels) beyond which the file  will  not
42              be  updated.   If  not provided no update will be applied to the
43              file, but errors will be reported.
44
45       <target_file>
46          The file to be operated on. To update this must  be  a  file  format
47          that supports in place updates of the geotransform and SRS.
48

AUTHOR

50       Frank Warmerdam <warmerdam@pobox.com>
51
53       1998-2023
54
55
56
57
58                                 Oct 30, 2023                      GDALMOVE(1)
Impressum