aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-03-28 20:52:33 +0100
committerKristian Evers <kristianevers@gmail.com>2019-03-28 21:59:22 +0100
commit3d670b859026218045cf972e4b38af9e3e9a3c6f (patch)
tree7c5c455d43ed3b5ac1207a22a6a9531decd43139 /docs/source
parent4754220ec8e3febd3d96e8096df8291c7a78fdb1 (diff)
downloadPROJ-3d670b859026218045cf972e4b38af9e3e9a3c6f.tar.gz
PROJ-3d670b859026218045cf972e4b38af9e3e9a3c6f.zip
Add no-op operation. It does nothing.
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/operations/conversions/index.rst1
-rw-r--r--docs/source/operations/conversions/noop.rst28
2 files changed, 29 insertions, 0 deletions
diff --git a/docs/source/operations/conversions/index.rst b/docs/source/operations/conversions/index.rst
index a9d137ab..42ad079d 100644
--- a/docs/source/operations/conversions/index.rst
+++ b/docs/source/operations/conversions/index.rst
@@ -15,6 +15,7 @@ conversions.
cart
geoc
latlon
+ noop
pop
push
unitconvert
diff --git a/docs/source/operations/conversions/noop.rst b/docs/source/operations/conversions/noop.rst
new file mode 100644
index 00000000..a35b2b58
--- /dev/null
+++ b/docs/source/operations/conversions/noop.rst
@@ -0,0 +1,28 @@
+.. _noop:
+
+================================================================================
+No operation
+================================================================================
+
+.. versionadded:: 6.1.0
+
+Pass a coordinate through unchanged.
+
++---------------------+--------------------------------------------------------+
+| **Alias** | noop |
++---------------------+--------------------------------------------------------+
+| **Domain** | 4D |
++---------------------+--------------------------------------------------------+
+| **Input type** | Any |
++---------------------+--------------------------------------------------------+
+| **Output type** | Any |
++---------------------+--------------------------------------------------------+
+
+The no operation is a dummy operation that returns whatever is passed to it
+as seen in this example::
+
+ $ echo 12 34 56 78 | cct +proj=noop
+ 12.0000 34.0000 56.0000 78.0000
+
+The operation has no options and default options will not affect the output.
+