Bug report #17739

MetaSearch: fix inconsistent spatial queries

Added by Tom Kralidis almost 7 years ago. Updated over 6 years ago.

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

Revision 04b18f4d
Added by Tom Kralidis almost 7 years ago

[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
(fixes #17739)

Revision 676bba29
Added by Tom Kralidis almost 7 years ago

Merge pull request #5942 from tomkralidis/metasearch-explicit-crs

[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)

Revision a947f6dc
Added by Tom Kralidis almost 7 years ago

[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)

Revision d14955cf
Added by Tom Kralidis almost 7 years ago

[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)

Revision 96cc10c0
Added by Tom Kralidis almost 7 years ago

[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

#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 over 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF