diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-02-28 22:37:13 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-02-28 22:37:13 +0100 |
| commit | be3791ffd5e802d5a3d38fa08f5ed24715b73c7c (patch) | |
| tree | 25eff60d91fed8ffce3302e37818f5bc452b16ca /docs/source/operations/transformations/hgridshift.rst | |
| parent | db2bfdce6df26801584be562f0ac74648ef8cefd (diff) | |
| download | PROJ-be3791ffd5e802d5a3d38fa08f5ed24715b73c7c.tar.gz PROJ-be3791ffd5e802d5a3d38fa08f5ed24715b73c7c.zip | |
Move 'Coordinate operations' to top level of docs [skip ci]
Diffstat (limited to 'docs/source/operations/transformations/hgridshift.rst')
| -rw-r--r-- | docs/source/operations/transformations/hgridshift.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/source/operations/transformations/hgridshift.rst b/docs/source/operations/transformations/hgridshift.rst new file mode 100644 index 00000000..7f3c9895 --- /dev/null +++ b/docs/source/operations/transformations/hgridshift.rst @@ -0,0 +1,39 @@ +.. _hgridshift: + +================================================================================ +Horizontal grid shift +================================================================================ + +Change of horizontal datum by grid shift. + ++-----------------+--------------------------------------------------------------------+ +| **Input type** | Geodetic coordinates. | ++-----------------+--------------------------------------------------------------------+ +| **Output type** | Geodetic coordinates. | ++-----------------+--------------------------------------------------------------------+ +| **Options** | ++-----------------+--------------------------------------------------------------------+ +| `+grids` | Comma-separated list of grids to load. | ++-----------------+--------------------------------------------------------------------+ + +The horizontal grid shift is done by offsetting the planar input coordinates by +a specific amount determined by the loaded grids. The simplest use case of the +horizontal grid shift is applying a single grid:: + + +hgridshift +grids=nzgr2kgrid0005.gsb + + +More than one grid can be loaded at the same time, for instance in case the +dataset needs to be transformed spans several countries. In this example grids +of the continental US, Alaska and Canada is loaded at the same time:: + + +hgridshift +grids=@conus,@alaska,@ntv2_0.gsb,@ntv_can.dat + +The ``@`` in the above example states that the grid is optional, in case the grid +is not found in the PROJ search path. The list of grids is prioritized so that +grids in the start of the list takes presedence over the grids in the back of the +list. + +PROJ supports CTable2, NTv1 and NTv2 files for horizontal grid corrections. Details +about all three formats can be found in the GDAL documentation. GDAL reads and +writes all three formats. Using GDAL for construction of new grids is recommended. |
