mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
(fixes #17739)
This commit is contained in:
parent
e16dfe4ff0
commit
04b18f4d43
@ -456,6 +456,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()
|
||||
@ -466,7 +468,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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user