diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-11-28 15:51:27 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-11-28 15:51:27 +0100 |
| commit | 0b4c8b0a76c65d8b1146224bf314cad53e9f6607 (patch) | |
| tree | a1b51f7ffeb6fbe6f0701ddd14359476e5e37b78 /test/cli/testdatumfile | |
| parent | 24c74a4d1cead8df41a7f22c8f28b1bf9e884de9 (diff) | |
| download | PROJ-0b4c8b0a76c65d8b1146224bf314cad53e9f6607.tar.gz PROJ-0b4c8b0a76c65d8b1146224bf314cad53e9f6607.zip | |
cs2cs: add --area and --bbox options to restrict candidate coordinate operations (fixes #2423)
Diffstat (limited to 'test/cli/testdatumfile')
| -rwxr-xr-x | test/cli/testdatumfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile index 16e4bbc3..5a013f12 100755 --- a/test/cli/testdatumfile +++ b/test/cli/testdatumfile @@ -60,6 +60,27 @@ $EXE +proj=latlong +ellps=clrk66 '+nadgrids="./dir with "" space/myconus"' \ EOF echo "##############################################################" >> ${OUT} +echo "Test --area Canada NAD27 NAD83 (using ntv1_can)" >> ${OUT} +$EXE --area Canada NAD27 NAD83 >>${OUT} <<EOF +44 -111 +39 -111 +EOF + +echo "##############################################################" >> ${OUT} +echo "Test --bbox -141.01,40.04,-47.74,86.46 NAD27 NAD83 (using ntv1_can)" >> ${OUT} +$EXE --bbox -141.01,40.04,-47.74,86.46 NAD27 NAD83 >>${OUT} <<EOF +44 -111 +39 -111 +EOF + +echo "##############################################################" >> ${OUT} +echo "Test --area \"USA - CONUS - onshore\" NAD27 NAD83 (using conus)" >> ${OUT} +$EXE --area "USA - CONUS - onshore" NAD27 NAD83 >>${OUT} <<EOF +44 -111 +39 -111 +EOF + +echo "##############################################################" >> ${OUT} echo Test MD used where available >> ${OUT} # $EXE +proj=latlong +ellps=clrk66 +nadgrids=MD,conus \ |
