aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Richard <didier.richard@ign.fr>2009-10-11 13:37:38 +0000
committerDidier Richard <didier.richard@ign.fr>2009-10-11 13:37:38 +0000
commitd97f97a524d0fc78415ddc281c72733bb8f8fd27 (patch)
tree97b2e417b3933c6b294051aebc7dfbd1d430c60b
parent0bb9f58d36b2130fa0eeba850671ffa512287b1b (diff)
downloadPROJ-d97f97a524d0fc78415ddc281c72733bb8f8fd27.tar.gz
PROJ-d97f97a524d0fc78415ddc281c72733bb8f8fd27.zip
Addition of a test according to ticket 52 (http://trac.osgeo.org/proj/ticket/52)
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1672 4e78687f-474d-0410-85f9-8d5e500ac6b2
-rw-r--r--nad/proj_outIGNF.dist2
-rw-r--r--nad/proj_outIGNF.dist-real1
-rwxr-xr-xnad/testIGNF6
3 files changed, 9 insertions, 0 deletions
diff --git a/nad/proj_outIGNF.dist b/nad/proj_outIGNF.dist
index 4621f21f..8a8b1259 100644
--- a/nad/proj_outIGNF.dist
+++ b/nad/proj_outIGNF.dist
@@ -1,3 +1,5 @@
++init=./IGNF:NTFG +to +init=./IGNF:RGF93G
+ 3.300866856 43.4477976569 0.0000 3d18'0.915"E 43d26'52.077"N 0.000
+init=./IGNF:LAMBE +to +init=./IGNF:LAMB93
600000.0000 2600545.4523 0.0000 652760.737 7033791.244 0.000
135638.3592 2418760.4094 0.0000 187194.062 6855928.882 0.000
diff --git a/nad/proj_outIGNF.dist-real b/nad/proj_outIGNF.dist-real
index f86e52e8..ad80c0d3 100644
--- a/nad/proj_outIGNF.dist-real
+++ b/nad/proj_outIGNF.dist-real
@@ -1,3 +1,4 @@
+ 3d18'0.31206816" 43d26'52.07156484" 0.0 3d18'0.91471" 43d26'52.077" 0.000
600000.0000 2600545.4523 0.0000 652760.737 7033791.245 0.000
135638.3592 2418760.4094 0.0000 187194.062 6855928.882 0.000
998137.3947 2413822.2844 0.0000 1049052.257 6843776.562 0.000
diff --git a/nad/testIGNF b/nad/testIGNF
index ec782eb6..3de07548 100755
--- a/nad/testIGNF
+++ b/nad/testIGNF
@@ -8,6 +8,8 @@
# 2009-03-08 : the null grid (nad2bin < null.lla null) MUST
# be around otherwise the LAMBE to LAMB93
# transformations will be wrong and vice-versa
+# 2009-10-04 : addition of NTFG to RGF93G test to check if
+# the gsb grid is still ok
EXE=$1
usage()
@@ -38,6 +40,10 @@ RES="-f %.3f"
echo "doing tests into file ${OUT}, please wait"
#
rm -f ${OUT}
+echo "+init=${INIT_FILE}:NTFG +to +init=${INIT_FILE}:RGF93G" >>${OUT}
+$EXE +init=${INIT_FILE}:NTFG +to +init=${INIT_FILE}:RGF93G -E >>${OUT} <<EOF
+ 3.300866856 43.4477976569 0.0000
+EOF
echo "+init=${INIT_FILE}:LAMBE +to +init=${INIT_FILE}:LAMB93" >>${OUT}
$EXE +init=${INIT_FILE}:LAMBE +to +init=${INIT_FILE}:LAMB93 -E $RES >>${OUT} <<EOF
600000.0000 2600545.4523 0.0000