Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
94 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ conversions. | |
cart | ||
geoc | ||
latlon | ||
noop | ||
pop | ||
push | ||
unitconvert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#define PJ_LIB__ | ||
|
||
#include "proj_internal.h" | ||
|
||
PROJ_HEAD(noop, "No operation"); | ||
|
||
static PJ_COORD noop(PJ_COORD coord, PJ *P) { | ||
(void) P; | ||
return coord; | ||
} | ||
|
||
PJ *CONVERSION(noop, 0) { | ||
P->fwd4d = noop; | ||
P->inv4d = noop; | ||
P->left = PJ_IO_UNITS_WHATEVER; | ||
P->right = PJ_IO_UNITS_WHATEVER; | ||
return P; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters