aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2019-01-22 15:29:38 +0100
committerGitHub <noreply@github.com>2019-01-22 15:29:38 +0100
commit8ff49e280c446421ca4669e851687847b0da7c9a (patch)
tree8d0ac07ef77eba5049173f02ced43c0d619328cc /test/cli
parent62e680a4d353c380d0104c392c963d2ba902ef36 (diff)
parent0b75ef6ae8f61fe9b518e96f9083449e7e2e8971 (diff)
downloadPROJ-8ff49e280c446421ca4669e851687847b0da7c9a.tar.gz
PROJ-8ff49e280c446421ca4669e851687847b0da7c9a.zip
Merge pull request #1231 from rouault/fix_1229
proj_create_crs_to_crs(): defer selection of actual coordinate operation until proj_trans() is called (fixes #1229)
Diffstat (limited to 'test/cli')
-rw-r--r--test/cli/td_out.dist4
-rwxr-xr-xtest/cli/testdatumfile9
2 files changed, 13 insertions, 0 deletions
diff --git a/test/cli/td_out.dist b/test/cli/td_out.dist
index f6b2a219..cdbe0fa9 100644
--- a/test/cli/td_out.dist
+++ b/test/cli/td_out.dist
@@ -23,3 +23,7 @@ edge or even a wee bit outside (#141).
-5.5000000000001 52.0000000000001 -5.498893534472 52.000109529717 0.000000000000
-5.4999 51.9999 -5.498793541695 52.000009529743 0.000000000000
-5.5001 52.0 -5.500100000000 52.000000000000 0.000000000000
+##############################################################
+NAD27 -> NAD83: 1st through ntv1, 2nd through conus
+44d00'00.000"N 111d00'00.000"W 0.0 43d59'59.732"N 111d0'3.208"W 0.000
+39d00'00.000"N 111d00'00.000"W 0.0 38d59'59.912"N 111d0'2.604"W 0.000
diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile
index d048d8e6..e8995150 100755
--- a/test/cli/testdatumfile
+++ b/test/cli/testdatumfile
@@ -97,7 +97,16 @@ $EXE +proj=latlong +datum=WGS84 \
-5.4999 51.9999
-5.5001 52.0
EOF
+#
+echo "##############################################################" >> ${OUT}
+echo "NAD27 -> NAD83: 1st through ntv1, 2nd through conus" >> ${OUT}
+#
+$EXE NAD27 NAD83 -E >>${OUT} <<EOF
+44d00'00.000"N 111d00'00.000"W 0.0
+39d00'00.000"N 111d00'00.000"W 0.0
+EOF
+# Cleanup
rm -rf "dir with \" space"
#