Opened 13 years ago

Closed 13 years ago

#585 closed defect (fixed)

The CSW dont find results with csw-GetRecords | filter OGC:BBOX+gml:Envelope

Reported by: aperi2007 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.5
Component: General Version: v2.6.5
Keywords: Cc:

Description

In the "CSW Demo Request", using the request: csw GetRecords | filter ogc:BBOX + gml:Envelope

the csw return 0 results.

<csw:SearchResults numberOfRecordsMatched="0" numberOfRecordsReturned="0" elementSet="summary" nextRecord="0" />

This result is wrong because it should return 4 record (in my test). Again, the request applied is perfectly correct for the CSW specs.

The bug seem to be in the parser of the search engine because if I remove the <ogc:PropertyName>iso:BoundingBox</ogc:PropertyName> section from the request.

The csw correctly return 4 results.

<csw:SearchResults numberOfRecordsMatched="4" numberOfRecordsReturned="4" elementSet="summary" nextRecord="0" />

I was using the Geonetwork from svn (r8130).

Attachments (1)

Change History (4)

comment:1 by josegar74, 13 years ago

Seem caused by reimplementation of RenameGeometryPropertyNameVisitor commited in rev 8115, with previous code is ok

comment:2 by josegar74, 13 years ago

Added a patch, to review. This issue only happens on trunk.

Seem Filter parser converts gml:Envelope to Polygon instead of BoundingBox and reimplemented RenameGeometryPropertyNameVisitor only managed BoundingBox

comment:3 by josegar74, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.