From e5706305795ed822a5197bda51e75a44ec14728b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 15 Dec 2020 18:30:24 +0100 Subject: projinfo: add a --accuracy option to define the minimum accuracy --- docs/source/apps/projinfo.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/source') diff --git a/docs/source/apps/projinfo.rst b/docs/source/apps/projinfo.rst index 803c0a65..f0f66620 100644 --- a/docs/source/apps/projinfo.rst +++ b/docs/source/apps/projinfo.rst @@ -22,7 +22,7 @@ Synopsis | [--crs-extent-use none|both|intersection|smallest] | [--grid-check none|discard_missing|sort|known_available] | [--pivot-crs always|if_no_direct_transformation|never|{auth:code[,auth:code]*}] - | [--show-superseded] [--hide-ballpark] + | [--show-superseded] [--hide-ballpark] [--accuracy {accuracy}] | [--allow-ellipsoidal-height-as-vertical-crs] | [--boundcrs-to-wgs84] | [--main-db-path path] [--aux-db-path path]* @@ -213,6 +213,14 @@ The following control parameters can appear in any order: .. note:: only used for coordinate operation computation +.. option:: --accuracy {accuracy} + + .. versionadded:: 8.0 + + Sets the minimum desired accuracy for returned coordinate operations. + + .. note:: only used for coordinate operation computation + .. option:: --allow-ellipsoidal-height-as-vertical-crs .. versionadded:: 8.0 -- cgit v1.2.3 From 37755e4edc53e09286cd2bb962299d0f5118fc77 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 15 Dec 2020 18:30:50 +0100 Subject: proj_create_crs_to_crs_from_pj(): add ACCURACY and ALLOW_BALLPARK options --- docs/source/development/reference/functions.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/source') diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst index 08b3e669..34fe59ed 100644 --- a/docs/source/development/reference/functions.rst +++ b/docs/source/development/reference/functions.rst @@ -195,6 +195,11 @@ paragraph for more details. If authority is a non-empty string different of ``any``, then coordinate operations will be searched only in that authority namespace (e.g ``EPSG``). + - ACCURACY=value: to set the minimum desired accuracy (in metres) of the + candidate coordinate operations. + + - ALLOW_BALLPARK=YES/NO: can be set to NO to disallow the use of + :term:`Ballpark transformation` in the candidate coordinate operations. .. doxygenfunction:: proj_normalize_for_visualization :project: doxygen_api -- cgit v1.2.3 From da066800e59dcd5c3bf5e88ccca1bf1762de74dc Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 16 Dec 2020 16:32:13 +0100 Subject: cs2cs: add --no-ballpark and --accuracy options --- docs/source/apps/cs2cs.rst | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'docs/source') diff --git a/docs/source/apps/cs2cs.rst b/docs/source/apps/cs2cs.rst index 7df8890f..4706459a 100644 --- a/docs/source/apps/cs2cs.rst +++ b/docs/source/apps/cs2cs.rst @@ -13,7 +13,7 @@ Synopsis | **cs2cs** [**-eEfIlrstvwW** [args]] | [[--area ] | [--bbox ]] - | [--authority ] + | [--authority ] [--no-ballpark] [--accuracy ] | ([*+opt[=arg]* ...] [+to *+opt[=arg]* ...] | {source_crs} {target_crs}) | file ... @@ -166,6 +166,19 @@ The following control parameters can appear in any order: `south_lat` and `north_lat` in the [-90,90]. `west_long` is generally lower than `east_long`, except in the case where the area of interest crosses the antimeridian. +.. option:: --no-ballpark + + .. versionadded:: 8.0.0 + + Disallow any coordinate operation that is, or contains, a + :term:`Ballpark transformation` + +.. option:: --accuracy + + .. versionadded:: 8.0.0 + + Sets the minimum desired accuracy for candidate coordinate operations. + .. option:: --authority .. versionadded:: 8.0.0 -- cgit v1.2.3