[Git][debian-gis-team/proj][master] Add patch to update Swiss datumgrid filenames in CH init file.

Bas Couwenberg gitlab at salsa.debian.org
Sat May 5 11:59:41 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / proj


Commits:
0ef6f361 by Bas Couwenberg at 2018-05-05T12:59:30+02:00
Add patch to update Swiss datumgrid filenames in CH init file.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/chenyx06.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+proj (5.0.1-3) UNRELEASED; urgency=medium
+
+  * Add patch to update Swiss datumgrid filenames in CH init file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 05 May 2018 12:54:44 +0200
+
 proj (5.0.1-2) unstable; urgency=medium
 
   * Bump Standards-Version to 4.1.4, no changes.


=====================================
debian/patches/chenyx06.patch
=====================================
--- /dev/null
+++ b/debian/patches/chenyx06.patch
@@ -0,0 +1,24 @@
+Description: Update filename for Swiss datumgrids.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/OSGeo/proj.4/issues/972
+Forwarded: https://github.com/OSGeo/proj.4/pull/979
+
+--- a/nad/CH
++++ b/nad/CH
+@@ -1,6 +1,6 @@
+ # This init file provides definitions for CH1903 and CH1903/LV03
+ # projections using the distortion grids developed by Swisstopo.
+-# See: http://www.swisstopo.admin.ch/internet/swisstopo/en/home/topics/survey/lv03-lv95/chenyx06/distortion_grids.html
++# See: https://shop.swisstopo.admin.ch/en/products/geo_software/GIS_info
+ #
+ # You'll need to download the grids separately and put in a directory
+ # scanned by libproj. Directories may be added to the scan list through
+@@ -18,6 +18,6 @@
+ #
+ <metadata> +origin=Swisstopo +lastupdate=2012-02-27
+ # CH1903/LV03
+-<1903_LV03>  +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel +units=m +nadgrids=chenyx06etrs.gsb +no_defs
++<1903_LV03>  +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel +units=m +nadgrids=CHENYX06_etrs.gsb +no_defs
+ # CH1903
+-<1903> +proj=longlat +ellps=bessel +nadgrids=chenyx06etrs.gsb +no_defs  <>
++<1903> +proj=longlat +ellps=bessel +nadgrids=CHENYX06_etrs.gsb +no_defs  <>


=====================================
debian/patches/series
=====================================
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-pj_transform-reset-error-state-before-each-call-to-p.patch
 jniwrap.patch
+chenyx06.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/commit/0ef6f361af4a80edd849eb26daf8a4ad4b67a9b4

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/commit/0ef6f361af4a80edd849eb26daf8a4ad4b67a9b4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180505/bd943e8c/attachment-0001.html>


More information about the Pkg-grass-devel mailing list