diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-03-24 13:21:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-24 13:21:58 +0100 |
| commit | 4f787973563fba4a4508340e6544f5c3c349570d (patch) | |
| tree | a4bd9e30b2bdb6365d4819428636517d43e4b332 /test/cli/testvarious | |
| parent | e658bbc00a11ac1599198b148144145ba2917f56 (diff) | |
| parent | 10e1b7b75f70c704cf78a7eb7197beebb4b82d4a (diff) | |
| download | PROJ-4f787973563fba4a4508340e6544f5c3c349570d.tar.gz PROJ-4f787973563fba4a4508340e6544f5c3c349570d.zip | |
Merge pull request #1355 from kbevers/cs2cs-4d
Make cs2cs support 4D coordinates.
Diffstat (limited to 'test/cli/testvarious')
| -rwxr-xr-x | test/cli/testvarious | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious index 43b1f63c..afe52ade 100755 --- a/test/cli/testvarious +++ b/test/cli/testvarious @@ -953,6 +953,19 @@ $EXE EPSG:32631 EPSG:4326 -E >> ${OUT} <<EOF EOF +echo "##############################################################" >> ${OUT} +echo "Test EPSG:4896 to EPSG:7930" >> ${OUT} +# Here we test that 4D coordinates are handled by cs2cs. Due to backwards +# compatibility, the t-component is not written to STDOUT as part of the +# coordinate data, but rather as part of the string that follows the xyz +# components. This is only seen by users when the -E option is used. Which +# means that this test also experience that behaviour. +$EXE -f %.4f EPSG:4896 EPSG:7930 -E >> ${OUT} <<EOF +3496737.2679 743254.4507 5264462.9620 2019.0 +3496737.2679 743254.4507 5264462.9620 2029.0 +EOF + + # Done! # do 'diff' with distribution results echo "diff ${OUT} with ${OUT}.dist" |
