aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeidi Vanparys <heidi.vanparys@gmail.com>2021-05-18 12:03:01 +0200
committerGitHub <noreply@github.com>2021-05-18 12:03:01 +0200
commit4b37ed7322119bca16084f38d2b17cd42aceb7f5 (patch)
treef1ccdf6b1ceb11e1a254fa9a6bd8c13b0607d061
parentabf680353d1e7088c8751eea5a429ca1ffd22303 (diff)
downloadPROJ-4b37ed7322119bca16084f38d2b17cd42aceb7f5.tar.gz
PROJ-4b37ed7322119bca16084f38d2b17cd42aceb7f5.zip
Update projinfo doc: add example --single-line
-rw-r--r--docs/source/apps/projinfo.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/apps/projinfo.rst b/docs/source/apps/projinfo.rst
index bdfe2add..a92de6ea 100644
--- a/docs/source/apps/projinfo.rst
+++ b/docs/source/apps/projinfo.rst
@@ -583,6 +583,18 @@ Output:
LENGTHUNIT["metre",1]],
ID["HOBU","MY_CRS"]]
+5. Get the WKT representation of EPSG:25832 in the WKT1:GDAL output format and on a single line
+
+.. code-block:: console
+
+ projinfo -o WKT1:GDAL --single-line EPSG:25832
+
+Output:
+
+::
+
+ WKT1:GDAL string:
+ PROJCS["ETRS89 / UTM zone 32N",GEOGCS["ETRS89",DATUM["European_Terrestrial_Reference_System_1989",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6258"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4258"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","25832"]]
.. only:: man