aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-12 00:15:16 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-10-12 00:15:16 +0200
commit25e1f6ee789d9db8756e05423f9a454885db4b9f (patch)
tree720a1e0e6498126eea8e2b7edf9456dd1a2d36d3 /test
parentc5fa51fb6382504c8e16e443f0781211a5ddf815 (diff)
downloadPROJ-25e1f6ee789d9db8756e05423f9a454885db4b9f.tar.gz
PROJ-25e1f6ee789d9db8756e05423f9a454885db4b9f.zip
createOperations(): allow transforming from a compoundCRS of a bound verticalCRS to a 2D CRS
Diffstat (limited to 'test')
-rwxr-xr-xtest/cli/testprojinfo4
-rw-r--r--test/cli/testprojinfo_out.dist3
2 files changed, 7 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index aa373114..3cb001d7 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -131,6 +131,10 @@ echo "Testing -s EPSG:4936 -t EPSG:4978 --spatial-test intersects --summary wher
$EXE -s EPSG:4936 -t EPSG:4978 --spatial-test intersects --summary >>${OUT} 2>&1
echo "" >>${OUT}
+echo "Testing -s "+proj=longlat +datum=WGS84 +geoidgrids=@foo.gtx +type=crs" -t EPSG:4326 -o PROJ -q" >> ${OUT}
+$EXE -s "+proj=longlat +datum=WGS84 +geoidgrids=@foo.gtx +type=crs" -t EPSG:4326 -o PROJ -q >>${OUT} 2>&1
+echo "" >>${OUT}
+
# do 'diff' with distribution results
echo "diff ${OUT} with testprojinfo_out.dist"
diff -u ${OUT} ${TEST_CLI_DIR}/testprojinfo_out.dist
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist
index b8209bbb..29eefc6a 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -939,3 +939,6 @@ Candidate operations found: 2
unknown id, Ballpark geocentric translation from ETRS89 to WGS 84, unknown accuracy, World, has ballpark transformation
INVERSE(EPSG):9225, Inverse of WGS 84 to ETRS89 (2), 0.1 m, Europe - offshore North Sea - Germany and Netherlands east of 5°E
+Testing -s +proj=longlat +datum=WGS84 +geoidgrids=@foo.gtx +type=crs -t EPSG:4326 -o PROJ -q
++proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=vgridshift +grids=@foo.gtx +multiplier=1 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1
+