From eaa1e100ad1e7900ff86f9a30bde68270492293d Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Thu, 13 Mar 2003 21:54:31 +0000 Subject: New git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1089 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- nad/td_out.dist | 14 +++++++++++++ nad/testdatum | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 nad/td_out.dist create mode 100755 nad/testdatum diff --git a/nad/td_out.dist b/nad/td_out.dist new file mode 100644 index 00000000..540d523e --- /dev/null +++ b/nad/td_out.dist @@ -0,0 +1,14 @@ +############################################################## +1st through ntv1, 2nd through conus +111d00'00.000"W 44d00'00.000"N 0.0 111d0'3.085"W 43d59'59.756"N 0.000 +111d00'00.000"W 39d00'00.000"N 0.0 111d0'2.604"W 38d59'59.912"N 0.000 +############################################################## +As above, but without ntv1 everything goes through conus file. +111d00'00.000"W 44d00'00.000"N 0.0 111d0'2.788"W 43d59'59.725"N 0.000 +111d00'00.000"W 39d00'00.000"N 0.0 111d0'2.604"W 38d59'59.912"N 0.000 +############################################################## +Test MD used where available +79d58'00.000"W 37d02'00.000"N 0.0 79d58'0.005"W 37d1'59.998"N 0.000 +79d58'00.000"W 36d58'00.000"N 0.0 79d57'59.128"W 36d58'0.501"N 0.000 +79d58'00.000"W 37d02'00.000"N 0.0 79d57'59.126"W 37d2'0.501"N 0.000 +79d58'00.000"W 36d58'00.000"N 0.0 79d57'59.128"W 36d58'0.501"N 0.000 diff --git a/nad/testdatum b/nad/testdatum new file mode 100755 index 00000000..497d96c1 --- /dev/null +++ b/nad/testdatum @@ -0,0 +1,61 @@ +: +# Script to do some testing of datum shifts. +# +# +OUT=td_out +EXE=../src/cs2cs +# +echo "doing tests into file ${OUT}, please wait" +rm -f ${OUT} +# +echo "##############################################################" >> ${OUT} +echo 1st through ntv1, 2nd through conus >> ${OUT} +# +$EXE +proj=latlong +ellps=clrk66 +nadgrids=ntv1_can.dat,conus \ + +to +proj=latlong +datum=NAD83 \ + -E >>${OUT} <> ${OUT} +echo As above, but without ntv1 everything goes through conus file. >> ${OUT} +# +$EXE +proj=latlong +ellps=clrk66 +nadgrids=conus \ + +to +proj=latlong +datum=NAD83 \ + -E >>${OUT} <> ${OUT} +echo Test MD used where available >> ${OUT} +# +$EXE +proj=latlong +ellps=clrk66 +nadgrids=MD,conus \ + +to +proj=latlong +datum=NAD83 \ + -E >>${OUT} <>${OUT} <