From e8b2e2a36324006146406fb1fc89ce6ed863807f Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 17 Feb 2019 19:40:38 +0100 Subject: Modify the default strategy of researching intermediate CRS to do it only if there is no direct transformation --- docs/source/apps/projinfo.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'docs/source/apps') diff --git a/docs/source/apps/projinfo.rst b/docs/source/apps/projinfo.rst index cbfd44d4..af9ed171 100644 --- a/docs/source/apps/projinfo.rst +++ b/docs/source/apps/projinfo.rst @@ -21,7 +21,7 @@ Synopsis | [--spatial-test contains|intersects] | [--crs-extent-use none|both|intersection|smallest] | [--grid-check none|discard_missing|sort] [--show-superseded] - | [--pivot-crs none|{auth:code[,auth:code]*}] + | [--pivot-crs always|if_no_direct_transformation|never|{auth:code[,auth:code]*}] | [--boundcrs-to-wgs84] | [--main-db-path path] [--aux-db-path path]* | [--identify] @@ -157,13 +157,16 @@ The following control parameters can appear in any order: .. note:: only used for coordinate operation computation -.. option:: --pivot-crs none|{auth:code[,auth:code]*} +.. option:: --pivot-crs always|if_no_direct_transformation|never|{auth:code[,auth:code]*} Determine if intermediate (pivot) CRS can be used when researching coordinate operation between 2 CRS. A typical example is the WGS84 pivot. By default, - projinfo will consider any potential pivot. If using the ``none`` strategy, + projinfo will consider any potential pivot if there is no direct transformation + ( ``if_no_direct_transformation``). If using the ``never`` strategy, only direct transformations between the source and target CRS will be - used. It is also possible to restrict the pivot CRS to consider by specifying + used. If using the ``always`` strategy, intermediate CRS will be considered + even if there are direct transformations. + It is also possible to restrict the pivot CRS to consider by specifying one or several CRS by their AUTHORITY:CODE. .. note:: only used for coordinate operation computation -- cgit v1.2.3