From dcb58eb624f87fad1362bfc593b274f84fa44889 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 16 Dec 2018 16:05:38 +0100 Subject: Add WKT1 grammar validation; change prototype of proj_obj_create_from_wkt() --- test/cli/testprojinfo | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/cli/testprojinfo') diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index ea0dcc2d..bae38482 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -78,6 +78,10 @@ echo "Testing deprecated CRS: projinfo EPSG:26591" >> ${OUT} $EXE EPSG:26591 >>${OUT} 2>&1 echo "" >>${OUT} +echo "Testing non compliant WKT1" >> ${OUT} +$EXE 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563]],UNIT["degree",0.0174532925199433]]' >>${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 -- cgit v1.2.3