diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-19 17:49:05 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-19 18:04:49 +0100 |
| commit | 53a8cbbec1a6c9c644b35da86bc26a33ff1279e0 (patch) | |
| tree | 55d63a43afb891c0523a5d16d8a7bd6281e4e9c7 /test/cli/testdatumfile | |
| parent | 1a2ce997b7b7f360110d20538aa15a64fcb61f5f (diff) | |
| download | PROJ-53a8cbbec1a6c9c644b35da86bc26a33ff1279e0.tar.gz PROJ-53a8cbbec1a6c9c644b35da86bc26a33ff1279e0.zip | |
Add support for spaces in grid name parameters (fixes #1152)
Diffstat (limited to 'test/cli/testdatumfile')
| -rwxr-xr-x | test/cli/testdatumfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile index 55900427..d048d8e6 100755 --- a/test/cli/testdatumfile +++ b/test/cli/testdatumfile @@ -27,6 +27,9 @@ echo "============================================" echo "Running ${0} using ${EXE}:" echo "============================================" +mkdir "dir with \" space" +cp ${PROJ_LIB}/conus "dir with \" space/myconus" + OUT=td_out #EXE=../src/cs2cs # @@ -46,7 +49,7 @@ EOF echo "##############################################################" >> ${OUT} echo As above, but without ntv1 everything goes through conus file. >> ${OUT} # -$EXE +proj=latlong +ellps=clrk66 +nadgrids=conus \ +$EXE +proj=latlong +ellps=clrk66 '+nadgrids="./dir with "" space/myconus"' \ +to +proj=latlong +datum=NAD83 \ -E >>${OUT} <<EOF 111d00'00.000"W 44d00'00.000"N 0.0 @@ -94,6 +97,9 @@ $EXE +proj=latlong +datum=WGS84 \ -5.4999 51.9999 -5.5001 52.0 EOF + +rm -rf "dir with \" space" + # ############################################################################## # Done! |
