Skip to content
Permalink
Browse files

[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries

(fixes #17739)
  • Loading branch information
tomkralidis committed Dec 22, 2017
1 parent e16dfe4 commit 04b18f4d43a488ae480ff852f6b9487fea64ccd7
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/MetaSearch/dialogs/maindialog.py
@@ -456,6 +456,8 @@ def search(self):
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()
@@ -466,7 +468,8 @@ def search(self):
# 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():

0 comments on commit 04b18f4

Please sign in to comment.
You can’t perform that action at this time.