aboutsummaryrefslogtreecommitdiff
path: root/docs/source/operations/transformations/hgridshift.rst
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-04-30 22:42:59 +0200
committerKristian Evers <kristianevers@gmail.com>2018-04-30 22:57:05 +0200
commit970d708ff9d796f7d9ec00b22023e835fbdc7f2d (patch)
treecbee11737ed36f20e51ba19c9e8faa757e79ac0d /docs/source/operations/transformations/hgridshift.rst
parentcd23e5f1b2630ee07567bd361373ba725774061b (diff)
downloadPROJ-970d708ff9d796f7d9ec00b22023e835fbdc7f2d.tar.gz
PROJ-970d708ff9d796f7d9ec00b22023e835fbdc7f2d.zip
Refactor operation doc pages
Extended the use of the :option: directive to all currently written operation doc pages. In the process several more default parameters were added for easy inclusion in other doc pages. Expanded the info tables for each operation with "domain", "alias", "input type" and "output type". Corrected various errors along the way. Mainly formatting errors and references to invalid parameters such as +sym in hatano.
Diffstat (limited to 'docs/source/operations/transformations/hgridshift.rst')
-rw-r--r--docs/source/operations/transformations/hgridshift.rst21
1 files changed, 17 insertions, 4 deletions
diff --git a/docs/source/operations/transformations/hgridshift.rst b/docs/source/operations/transformations/hgridshift.rst
index 63fa5122..35c84919 100644
--- a/docs/source/operations/transformations/hgridshift.rst
+++ b/docs/source/operations/transformations/hgridshift.rst
@@ -4,17 +4,18 @@
Horizontal grid shift
================================================================================
+.. versionadded:: 5.0.0
+
Change of horizontal datum by grid shift.
+
++-----------------+--------------------------------------------------------------------+
+| **Domain** | 2D |
+-----------------+--------------------------------------------------------------------+
| **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
@@ -37,3 +38,15 @@ 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.
+
+
+Parameters
+################################################################################
+
+.. option:: +grids=<list>
+
+ Comma-separated list of grids to load. If a grid is prefixed by an `@` the
+ grid is consideres optional and PROJ will the not complain if the grid is
+ not available.
+
+ Grids are expected to be in CTable2, NTv1 or NTv2 format.