aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2018-08-22 12:47:59 +0200
committerGitHub <noreply@github.com>2018-08-22 12:47:59 +0200
commit3e9ae6f6ef2a36c3b69f0ee81698c9710fedf6af (patch)
tree8647ad45d06d85c201327c9a82b790e165bf147f
parentc9cbab5f243db27acf9b03261a9a89fc60eda7aa (diff)
parent3746c519a5089d482cef4bf8adae88f25f88640e (diff)
downloadPROJ-3e9ae6f6ef2a36c3b69f0ee81698c9710fedf6af.tar.gz
PROJ-3e9ae6f6ef2a36c3b69f0ee81698c9710fedf6af.zip
Merge pull request #1099 from phidrho/patch-2
added usage example
-rw-r--r--docs/source/operations/conversions/cart.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/operations/conversions/cart.rst b/docs/source/operations/conversions/cart.rst
index 83328fa8..111eb7d2 100644
--- a/docs/source/operations/conversions/cart.rst
+++ b/docs/source/operations/conversions/cart.rst
@@ -24,6 +24,14 @@ the first axis (X) points from the Earth centre to the point of longitude=0,
latitude=0, the second axis (Y) points from the Earth centrer to the point of
longitude=90, latitude=0 and the third axis (Z) points to the North pole.
+Usage
+################################################################################
+
+Convert geodetic coordinates to GRS80 cartesian coordinates::
+
+ echo 17.7562015132 45.3935192042 133.12 2017.8 | cct +proj=cart +ellps=GRS80
+ 4272922.1553 1368283.0597 4518261.3501 2017.8000
+
Parameters
################################################################################