Bug report #17739
MetaSearch: fix inconsistent spatial queries
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Tom Kralidis | ||
Category: | MetaSearch Catalogue Client | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | all | Easy fix?: | Yes |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25635 |
Description
Issuing spatial queries via MetaSearch yields inconsistent / unexpected results.
The root cause is that MetaSearch is not being explicit with CRS of a given BBOX, i.e.:
<ogc:BBOX> <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName> <gml:Envelope> <gml:lowerCorner>-180 -90</gml:lowerCorner> <gml:upperCorner>180 90</gml:upperCorner> <gml:Envelope> </ogc:BBOX>
The result is that the CSW MetaSearch interacts with does
not have enough information about the spatial query resulting
in inconsistent axis order handling.
MetaSearch should be more explicit with CRS so that a given
CSW knows exactly the CRS of the bounding box to be able to
detect axis order correctly.
Associated revisions
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
(fixes #17739)
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)
History
#1 Updated by Tom Kralidis almost 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|04b18f4d43a488ae480ff852f6b9487fea64ccd7.
#2 Updated by Tom Kralidis almost 7 years ago
fixed in branches:
- master
- release-2_18
- release-2_16
- release-2_14
#3 Updated by Giovanni Manghi almost 7 years ago
- Resolution set to fixed/implemented