[Git][debian-gis-team/qgis][upstream-ltr] New upstream version 2.14.22+dfsg

Sebastiaan Couwenberg gitlab at salsa.debian.org
Sat Jan 20 14:43:43 UTC 2018


Sebastiaan Couwenberg pushed to branch upstream-ltr at Debian GIS Project / qgis


Commits:
6fa9dfdd by Bas Couwenberg at 2018-01-20T08:45:28+01:00
New upstream version 2.14.22+dfsg
- - - - -


5 changed files:

- CMakeLists.txt
- ChangeLog
- debian/changelog
- python/ext-libs/owslib/fes.py
- python/plugins/MetaSearch/dialogs/maindialog.py


Changes:

=====================================
CMakeLists.txt
=====================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 SET(CPACK_PACKAGE_VERSION_MAJOR "2")
 SET(CPACK_PACKAGE_VERSION_MINOR "14")
-SET(CPACK_PACKAGE_VERSION_PATCH "21")
+SET(CPACK_PACKAGE_VERSION_PATCH "22")
 SET(COMPLETE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
 SET(RELEASE_NAME "Essen")
 IF (POLICY CMP0048) # in CMake 3.0.0+


=====================================
ChangeLog
=====================================
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tom Kralidis <tomkralidis at gmail.com>	2017-12-22
+
+    [bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)
+
+Juergen E. Fischer <jef at norbit.de>	2017-12-08
+
+    Release of 2.14.21
+
 rldhont <rldhont at gmail.com>	2017-11-06
 
     [Server] GetFeatureInfo: enhance raster data values displayed


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
-qgis (2.14.21) UNRELEASED; urgency=medium
+qgis (2.14.22) UNRELEASED; urgency=medium
+
+  * Release of 2.14.22
+
+ -- Jürgen E. Fischer <jef at norbit.de>  Fri, 19 Jan 2018 14:13:45 +0100
+
+qgis (2.14.21) unstable; urgency=medium
 
   * Release of 2.14.21
 
- -- Jürgen E. Fischer <jef at norbit.de>  Fri, 08 Dec 2017 14:00:15 +0100
+ -- Jürgen E. Fischer <jef at norbit.de>  Fri, 19 Jan 2018 14:13:45 +0100
 
 qgis (2.14.20) unstable; urgency=medium
 


=====================================
python/ext-libs/owslib/fes.py
=====================================
--- a/python/ext-libs/owslib/fes.py
+++ b/python/ext-libs/owslib/fes.py
@@ -340,12 +340,15 @@ class PropertyIsBetween(OgcExpression):
         
 class BBox(OgcExpression):
     """Construct a BBox, two pairs of coordinates (west-south and east-north)"""
-    def __init__(self, bbox):
+    def __init__(self, bbox, crs=None):
         self.bbox = bbox
+        self.crs = crs
     def toXML(self):
         tmp = etree.Element(util.nspath_eval('ogc:BBOX', namespaces))
         etree.SubElement(tmp, util.nspath_eval('ogc:PropertyName', namespaces)).text = 'ows:BoundingBox'
         tmp2 = etree.SubElement(tmp, util.nspath_eval('gml:Envelope', namespaces))
+        if self.crs is not None:
+            tmp2.set('srsName', self.crs)
         etree.SubElement(tmp2, util.nspath_eval('gml:lowerCorner', namespaces)).text = '%s %s' % (self.bbox[0], self.bbox[1])
         etree.SubElement(tmp2, util.nspath_eval('gml:upperCorner', namespaces)).text = '%s %s' % (self.bbox[2], self.bbox[3])
         return tmp


=====================================
python/plugins/MetaSearch/dialogs/maindialog.py
=====================================
--- a/python/plugins/MetaSearch/dialogs/maindialog.py
+++ b/python/plugins/MetaSearch/dialogs/maindialog.py
@@ -438,6 +438,8 @@ class MetaSearchDialog(QDialog, BASE_CLASS):
         self.timeout = self.spnTimeout.value()
 
         # bbox
+        # CRS is WGS84 with axis order longitude, latitude
+        # defined by 'urn:ogc:def:crs:OGC:1.3:CRS84'
         minx = self.leWest.text()
         miny = self.leSouth.text()
         maxx = self.leEast.text()
@@ -448,7 +450,8 @@ class MetaSearchDialog(QDialog, BASE_CLASS):
         # even for a global bbox, if a spatial filter is applied, then
         # the CSW server will skip records without a bbox
         if bbox != ['-180', '-90', '180', '90']:
-            self.constraints.append(BBox(bbox))
+            self.constraints.append(BBox(bbox,
+                                         crs='urn:ogc:def:crs:OGC:1.3:CRS84'))
 
         # keywords
         if self.leKeywords.text():



View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/commit/6fa9dfdde7f00ea4dd19a23036fa95ba10563d1b

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/commit/6fa9dfdde7f00ea4dd19a23036fa95ba10563d1b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20180120/923e9b51/attachment-0001.html>


More information about the Pkg-grass-devel mailing list