mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)
This commit is contained in:
parent
b81bcf0f30
commit
d14955cf81
@ -437,6 +437,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()
|
||||
@ -447,7 +449,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