[proj-rdnap] 04/09: Add test.
Bas Couwenberg
sebastic at xs4all.nl
Tue Nov 25 21:53:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository proj-rdnap.
commit dd7dd5b770e0f99669a8d49de958ca3e57602649
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Oct 16 22:40:17 2014 +0200
Add test.
---
debian/patches/add-test.patch | 598 ++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 6 +
3 files changed, 605 insertions(+)
diff --git a/debian/patches/add-test.patch b/debian/patches/add-test.patch
new file mode 100644
index 0000000..96d57fc
--- /dev/null
+++ b/debian/patches/add-test.patch
@@ -0,0 +1,598 @@
+--- /dev/null
++++ b/testrdtrans2008
+@@ -0,0 +1,380 @@
++:
++# Script to do some testing of various transformations
++# required by the RDNAPTRANS™2008 license.
++#
++# For the license and test sheet refer to the file:
++# "Use of RDTRANS2008 and NAPTRANS2008.pdf"
++
++EXE=$1
++
++usage()
++{
++ echo "Usage: ${0} <path to 'cs2cs' program>"
++ echo
++ exit 1
++}
++
++if test -z "${EXE}"; then
++ EXE=../src/cs2cs
++fi
++
++if test ! -x ${EXE}; then
++ echo "*** ERROR: Can not find '${EXE}' program!"
++ exit 1
++fi
++
++echo "==============================================="
++echo "Running ${0} using ${EXE}:"
++echo "==============================================="
++
++OUT=testrdtrans2008_out
++
++echo "doing tests into file ${OUT}, please wait"
++
++rm -f ${OUT}
++
++
++# From ETRS89 to RD/NAP
++
++cat >>${OUT} <<EOF
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 01 | Texel | 53.160753042 | 4.824761912 | 42.8614 | 117380.1200 | 575040.3400 | 1.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++53.160753042 4.824761912 42.8614
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 02 | Noord-Groningen | 53.419482050 | 6.776726674 | 42.3586 | 247380.5600 | 604580.7800 | 2.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++53.419482050 6.776726674 42.3586
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 03 | Amersfoort | 52.155172897 | 5.387203657 | 43.2551 | 155000.0000 | 463000.0000 | 0.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++52.155172897 5.387203657 43.2551
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 04 | Zeeuws-Vlaanderen | 51.368607152 | 3.397588595 | 47.4024 | 16460.9100 | 377380.2300 | 3.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++51.368607152 3.397588595 47.4024
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 05 | Zuid-Limburg | 50.792584908 | 5.773795547 | 174.9478 | 182260.4500 | 311480.6700 | 129.000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++50.792584908 5.773795547 174.9478
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 06 | Maasvlakte | 51.947393898 | 4.072887101 | 47.5968 | 64640.8900 | 440700.0101 | 4.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++51.947393898 4.072887101 47.5968
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 07* | No_rd&geoid | 50.687420405 | 4.608971812 | | 100000.6700 | 300000.8900 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++50.687420405 4.608971812
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 08* | No_geoid | 51.136825197 | 4.601375361 | | 100000.6700 | 350000.8900 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++51.136825197 4.601375361
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 09* | No_rd | 52.482440839 | 4.268403889 | | 79000.0100 | 500000.2300 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++52.482440839 4.268403889
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 10* | edge_rd | 51.003976532 | 3.891247830 | | 50000.4500 | 335999.6700 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++EOF
++
++$EXE -r +init=epsg:4258 +to +init=rdnap:rdnap -E -f '%.4f' >>${OUT} <<EOF
++51.003976532 3.891247830
++EOF
++
++
++# From RD/NAP to ETRS89
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 01 | Texel | 117380.1200 | 575040.3400 | 1.0000 | 53.160753042 | 4.824761912 | 42.8614 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++117380.1200 575040.3400 1.0000
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 02 | Noord-Groningen | 247380.5600 | 604580.7800 | 2.0000 | 53.419482050 | 6.776726674 | 42.3586 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++247380.5600 604580.7800 2.0000
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 03 | Amersfoort | 155000.0000 | 463000.0000 | 0.0000 | 52.155172897 | 5.387203657 | 43.2551 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++155000.0000 463000.0000 0.0000
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 04 | Zeeuws-Vlaanderen | 16460.9100 | 377380.2300 | 3.0000 | 51.368607152 | 3.397588595 | 47.4024 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++16460.9100 377380.2300 3.0000
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 05 | Zuid-Limburg | 182260.4500 | 311480.6700 | 129.000 | 50.792584908 | 5.773795547 | 174.9478 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++182260.4500 311480.6700 129.000
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 06 | Maasvlakte | 64640.8900 | 440700.0100 | 4.0000 | 51.947393898 | 4.072887101 | 47.5968 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++64640.8900 440700.0100 4.0000
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 07* | No_rd&geoid | 100000.6700 | 300000.8900 | | 50.687420405 | 4.608971812 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++100000.6700 300000.8900
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 08* | No_geoid | 100000.6700 | 350000.8900 | | 51.136825197 | 4.601375361 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++100000.6700 350000.8900
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 09* | No_rd | 79000.0100 | 500000.2300 | | 52.482440839 | 4.268403889 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++
++EOF
++
++cat >>${OUT} <<EOF
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 10* | edge_rd | 50000.4500 | 335999.6700 | | 51.003976532 | 3.891247830 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++EOF
++
++$EXE -s +init=rdnap:rdnap +to +init=epsg:4258 -E -f '%.9f' >>${OUT} <<EOF
++50000.4500 335999.6700
++EOF
++
++##############################################################################
++# Done!
++# do 'diff' with distribution results
++
++echo "diff ${OUT} with ${OUT}.dist"
++diff -b ${OUT} ${OUT}.dist
++if [ $? -ne 0 ] ; then
++ echo ""
++ echo "PROBLEMS HAVE OCCURED"
++ echo "test file ${OUT} saved"
++ echo
++ exit 100
++else
++ echo "TEST OK"
++ echo "test file ${OUT} removed"
++ echo
++ /bin/rm -f ${OUT}
++ exit 0
++fi
++
+--- /dev/null
++++ b/epsg
+@@ -0,0 +1,2 @@
++# ETRS89
++<4258> +proj=longlat +ellps=GRS80 +no_defs <>
+--- /dev/null
++++ b/rdnap
+@@ -0,0 +1,5 @@
++# RDNAP with NTv2 and VDatum
++<rdnap> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +nadgrids=rdtrans2008.gsb +geoidgrids=naptrans2008.gtx +units=m +no_defs <>
++
++# RD with NTv2 only
++<rd> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +nadgrids=rdtrans2008.gsb +units=m +no_defs <>
+--- /dev/null
++++ b/testrdtrans2008_out.dist
+@@ -0,0 +1,199 @@
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 01 | Texel | 53.160753042 | 4.824761912 | 42.8614 | 117380.1200 | 575040.3400 | 1.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++53.160753042 4.824761912 42.8614 117380.1200 575040.3400 1.0000
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 02 | Noord-Groningen | 53.419482050 | 6.776726674 | 42.3586 | 247380.5600 | 604580.7800 | 2.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++53.419482050 6.776726674 42.3586 247380.5600 604580.7800 2.0000
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 03 | Amersfoort | 52.155172897 | 5.387203657 | 43.2551 | 155000.0000 | 463000.0000 | 0.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++52.155172897 5.387203657 43.2551 155000.0000 463000.0000 0.0000
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 04 | Zeeuws-Vlaanderen | 51.368607152 | 3.397588595 | 47.4024 | 16460.9100 | 377380.2300 | 3.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++51.368607152 3.397588595 47.4024 16460.9100 377380.2300 3.0000
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 05 | Zuid-Limburg | 50.792584908 | 5.773795547 | 174.9478 | 182260.4500 | 311480.6700 | 129.000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++50.792584908 5.773795547 174.9478 182260.4500 311480.6700 129.0000
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 06 | Maasvlakte | 51.947393898 | 4.072887101 | 47.5968 | 64640.8900 | 440700.0101 | 4.0000 |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++51.947393898 4.072887101 47.5968 64640.8900 440700.0101 4.0000
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 07* | No_rd&geoid | 50.687420405 | 4.608971812 | | 100000.6700 | 300000.8900 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++50.687420405 4.608971812 100000.6700 300000.8900
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 08* | No_geoid | 51.136825197 | 4.601375361 | | 100000.6700 | 350000.8900 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++51.136825197 4.601375361 100000.6700 350000.8900
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 09* | No_rd | 52.482440839 | 4.268403889 | | 79000.0100 | 500000.2300 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++52.482440839 4.268403889 79000.0100 500000.2300
++
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | No. | Name | ETS89 | | | RD/NAP | | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | | | latitude (°) | longitude (°) | h (m) | x (m) | y (m) | NAP (m) |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++# | 10* | edge_rd | 51.003976532 | 3.891247830 | | 50000.4500 | 335999.6700 | |
++# +-----+-------------------+--------------+---------------+----------+-------------+-------------+---------+
++
++51.003976532 3.891247830 50000.4500 335999.6700
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 01 | Texel | 117380.1200 | 575040.3400 | 1.0000 | 53.160753042 | 4.824761912 | 42.8614 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++117380.1200 575040.3400 1.0000 53.160753042 4.824761912 42.8614
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 02 | Noord-Groningen | 247380.5600 | 604580.7800 | 2.0000 | 53.419482050 | 6.776726674 | 42.3586 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++247380.5600 604580.7800 2.0000 53.419482050 6.776726674 42.3586
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 03 | Amersfoort | 155000.0000 | 463000.0000 | 0.0000 | 52.155172897 | 5.387203657 | 43.2551 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++155000.0000 463000.0000 0.0000 52.155172897 5.387203657 43.2551
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 04 | Zeeuws-Vlaanderen | 16460.9100 | 377380.2300 | 3.0000 | 51.368607152 | 3.397588595 | 47.4024 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++16460.9100 377380.2300 3.0000 51.368607152 3.397588595 47.4024
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 05 | Zuid-Limburg | 182260.4500 | 311480.6700 | 129.000 | 50.792584908 | 5.773795547 | 174.9478 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++182260.4500 311480.6700 129.000 50.792584908 5.773795547 174.9478
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 06 | Maasvlakte | 64640.8900 | 440700.0100 | 4.0000 | 51.947393898 | 4.072887101 | 47.5968 |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++64640.8900 440700.0100 4.0000 51.947393898 4.072887101 47.5968
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 07* | No_rd&geoid | 100000.6700 | 300000.8900 | | 50.687420405 | 4.608971812 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++100000.6700 300000.8900 50.687420405 4.608971812
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 08* | No_geoid | 100000.6700 | 350000.8900 | | 51.136825197 | 4.601375361 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++100000.6700 350000.8900 51.136825197 4.601375361
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 09* | No_rd | 79000.0100 | 500000.2300 | | 52.482440839 | 4.268403889 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++79000.0100 500000.2300 52.482440839 4.268403889
++
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | No. | Name | RD/NAP | | | ETRS89 | | |
++# +-----+-------------------+-------------+---------------+---------+--------------+-------------+----------+
++# | | | x (m) | y (m) | NAP (m) | latitude (°) | longitude (°) | h (m) |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++# | 10* | edge_rd | 50000.4500 | 335999.6700 | | 51.003976532 | 3.891247830 | |
++# +-----+-------------------+-------------+-------------+---------+--------------+---------------+----------+
++
++50000.4500 335999.6700 51.003976532 3.891247830
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..647f8d3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-test.patch
diff --git a/debian/rules b/debian/rules
index 6c5e98f..9ece09b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,12 @@
%:
dh $@
+override_dh_clean:
+ dh_clean testrdtrans2008_out
+
+override_dh_auto_test:
+ PROJ_LIB=. /bin/sh ./testrdtrans2008 /usr/bin/cs2cs || echo "Ignoring test failure"
+
get-orig-source:
. debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj-rdnap.git
More information about the Pkg-grass-devel
mailing list