From a6e1d72890615b42f54edad9b17acff8e7623844 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 10 Sep 2019 17:13:20 +0200 Subject: API: add CRS::promoteTo3D(), proj_crs_promote_to_3D() and proj_crs_create_projected_3D_crs_from_2D() (fixes #1587) Also add a --3d switch to projinfo --- docs/source/apps/projinfo.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/source/apps') diff --git a/docs/source/apps/projinfo.rst b/docs/source/apps/projinfo.rst index 6681881c..8fbf0546 100644 --- a/docs/source/apps/projinfo.rst +++ b/docs/source/apps/projinfo.rst @@ -24,7 +24,7 @@ Synopsis | [--pivot-crs always|if_no_direct_transformation|never|{auth:code[,auth:code]*}] | [--boundcrs-to-wgs84] | [--main-db-path path] [--aux-db-path path]* - | [--identify] + | [--identify] [--3d] | [--c-ify] [--single-line] | {object_definition} | {object_reference} | (-s {srs_def} -t {srs_def}) | @@ -220,6 +220,14 @@ The following control parameters can appear in any order: For example, `+proj=utm +zone=31 +datum=WGS84 +type=crs` will be identified with a likelihood of 70% to EPSG:32631 +.. option:: --3d + + .. versionadded:: 7.0 + + "Promote" the CRS(s) to their 3D version. Useful for example when wanting + to transform between a 2D projected CRS with elevations as ellipsoidal + height to a 3D geographic CRS or a compoundCRS. + .. option:: --c-ify For developers only. Modify the string output of the utility so that it -- cgit v1.2.3