diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-01-08 19:42:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-08 19:42:22 +0100 |
| commit | 2d76bcffdc4d154860512c904c877ad086ca6b6d (patch) | |
| tree | fb7a89bad15edbd55aab154532911933af591dc8 /test/cli | |
| parent | 6cd3a80bf5d015ec9c6dc601720a418c17ffa340 (diff) | |
| parent | 6426bcbd3605bf8cd6ae5c7869931fa89a26d641 (diff) | |
| download | PROJ-2d76bcffdc4d154860512c904c877ad086ca6b6d.tar.gz PROJ-2d76bcffdc4d154860512c904c877ad086ca6b6d.zip | |
Merge pull request #1827 from rouault/improve_createObjectsFromName
Improvements regarding name aliases (refs #1823)
Diffstat (limited to 'test/cli')
| -rwxr-xr-x | test/cli/testprojinfo | 20 | ||||
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 35 |
2 files changed, 55 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index 4ce5e90c..b9c452fb 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -155,6 +155,26 @@ echo 'Testing -s "GDA2020" -t "AHD height" --grid-check none -o PROJ --spatial-t $EXE -s "GDA2020" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects >>${OUT} 2>&1 echo "" >>${OUT} +echo 'Testing -k ellipsoid WGS84' >> ${OUT} +$EXE -k ellipsoid WGS84 >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -k ellipsoid EPSG:7030' >> ${OUT} +$EXE -k ellipsoid EPSG:7030 >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -k datum WGS84' >> ${OUT} +$EXE -k datum WGS84 >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -k datum EPSG:6326' >> ${OUT} +$EXE -k datum EPSG:6326 >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -k operation EPSG:8457 -o PROJ -q' >> ${OUT} +$EXE -k operation EPSG:8457 -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 794f313b..03ce9046 100644 --- a/test/cli/testprojinfo_out.dist +++ b/test/cli/testprojinfo_out.dist @@ -1096,3 +1096,38 @@ DERIVED_FROM(EPSG):8451, GDA2020 to AHD height (1), 0.03 m, Australia Christmas PROJ string: +proj=pipeline +step +inv +proj=vgridshift +grids=AUSGeoid2020_20180201.gtx +multiplier=1 +Testing -k ellipsoid WGS84 +PROJ string: ++ellps=WGS84 + +WKT2:2019 string: +ELLIPSOID["WGS 84",6378137,298.257223563, + LENGTHUNIT["metre",1], + ID["EPSG",7030]] + +Testing -k ellipsoid EPSG:7030 +PROJ string: ++ellps=WGS84 + +WKT2:2019 string: +ELLIPSOID["WGS 84",6378137,298.257223563, + LENGTHUNIT["metre",1], + ID["EPSG",7030]] + +Testing -k datum WGS84 +WKT2:2019 string: +DATUM["World Geodetic System 1984", + ELLIPSOID["WGS 84",6378137,298.257223563, + LENGTHUNIT["metre",1]], + ID["EPSG",6326]] + +Testing -k datum EPSG:6326 +WKT2:2019 string: +DATUM["World Geodetic System 1984", + ELLIPSOID["WGS 84",6378137,298.257223563, + LENGTHUNIT["metre",1]], + ID["EPSG",6326]] + +Testing -k operation EPSG:8457 -o PROJ -q ++proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=bessel +step +proj=helmert +x=674.374 +y=15.056 +z=405.346 +step +inv +proj=cart +ellps=WGS84 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1 + |
