[proj] 18/18: Add patch to use the higher precision towgs84 values as specified by Kadaster for EPSG 28991 & 28992.

Bas Couwenberg sebastic at xs4all.nl
Sun Oct 5 19:37:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch experimental
in repository proj.

commit e7f4312c8717271ee71f449950938c240b9f565a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Oct 5 21:10:11 2014 +0200

    Add patch to use the higher precision towgs84 values as specified by Kadaster for EPSG 28991 & 28992.
---
 debian/changelog                          |  2 ++
 debian/patches/epsg-28992-precision.patch | 31 +++++++++++++++++++++++++++++++
 debian/patches/nad2bin-data.patch         |  1 +
 debian/patches/series                     |  1 +
 4 files changed, 35 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5646e99..5038a5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ proj (4.9.0~rc2-1) UNRELEASED; urgency=medium
   * Update nad2bin-data.patch to fix the build when the .lla files from
     proj-datumgrid-1.5 are not present, and install system independent
     files from proj-datumgrid-1.6 if they are present.
+  * Add patch to use the higher precision towgs84 values as specified by
+    Kadaster for EPSG 28991 & 28992.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Fri, 03 Oct 2014 17:29:03 +0200
 
diff --git a/debian/patches/epsg-28992-precision.patch b/debian/patches/epsg-28992-precision.patch
new file mode 100644
index 0000000..caa705b
--- /dev/null
+++ b/debian/patches/epsg-28992-precision.patch
@@ -0,0 +1,31 @@
+Description: Use the higher precision towgs84 values as specified by Kadaster.
+ The Dutch Kadaster has publiced the values to use three times so far:
+ .
+ Until 2004:
+ +towgs84=565.040,49.910,465.840,-0.409394,0.359705,-1.868491,4.0772
+ .
+ From 2005 until 2008:
+ +towgs84=565.2369,50.0087,465.6580,-0.406857,0.350733,-1.870347,4.0812
+ .
+ From 2009:
+ +towgs84=565.4171,50.3319,465.5524,-0.398957,0.343988,-1.877402,4.0725
+ .
+ For related discussion in Dutch see:
+ http://lists.osgeo.org/pipermail/dutch/2014-October/000980.html
+ .
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+
+--- a/nad/epsg
++++ b/nad/epsg
+@@ -8230,9 +8230,9 @@
+ # Qatar 1974 / Qatar National Grid
+ <28600> +proj=tmerc +lat_0=24.45 +lon_0=51.21666666666667 +k=0.99999 +x_0=200000 +y_0=300000 +ellps=intl +towgs84=-128.16,-282.42,21.93,0,0,0,0 +units=m +no_defs  <>
+ # Amersfoort / RD Old
+-<28991> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=0 +y_0=0 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs  <>
++<28991> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=0 +y_0=0 +ellps=bessel +towgs84=565.4171,50.3319,465.5524,-0.398957,0.343988,-1.877402,4.0725 +units=m +no_defs  <>
+ # Amersfoort / RD New
+-<28992> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs  <>
++<28992> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.4171,50.3319,465.5524,-0.398957,0.343988,-1.877402,4.0725 +units=m +no_defs  <>
+ # SAD69 / Brazil Polyconic (deprecated)
+ <29100> +proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000 +ellps=GRS67 +towgs84=-57,1,-41,0,0,0,0 +units=m +no_defs  <>
+ # SAD69 / Brazil Polyconic
diff --git a/debian/patches/nad2bin-data.patch b/debian/patches/nad2bin-data.patch
index 5381efb..78dfe23 100644
--- a/debian/patches/nad2bin-data.patch
+++ b/debian/patches/nad2bin-data.patch
@@ -8,6 +8,7 @@ Description: Don't assume the .lla files from proj-datumgrid are present.
  .
 Author: Bas Couwenberg <sebastic at xs4all.nl>
 Bug-Debian: https://bugs.debian.org/747862
+Forwarded: http://trac.osgeo.org/proj/ticket/249
 --- a/nad/Makefile.am
 +++ b/nad/Makefile.am
 @@ -33,7 +33,8 @@ process-nad2bin:
diff --git a/debian/patches/series b/debian/patches/series
index 3b2bfe1..597fd81 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ manpages
 geos-manpage-error.patch
 hyphen-used-as-minus-sign.patch
 nad2bin-data.patch
+epsg-28992-precision.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj.git



More information about the Pkg-grass-devel mailing list