Hi all,
I have several records in my GeoNetwork repository.
When I send the CSW request like this:
POST /geonetwork/srv/en/csw
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: localhost:8080
Cookie: JSESSIONID=7h3o2bue52n01
Content-Length: 1581
Content-Type: application/soap+xml; charset=UTF8
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Body>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw" service="CSW" version="2.0.1" resultType="results">
<csw:Query>
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">
<And>
<BBOX>
<PropertyName>ows:BoundingBox</PropertyName>
<gml:Envelope>
<gml:lowerCorner>5 -80</gml:lowerCorner>
<gml:upperCorner>100 80</gml:upperCorner>
</gml:Envelope>
</BBOX>
</And>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
</env:Body>
</env:Envelope>
I get the record with bounding box
<ows:BoundingBox crs="::WGS 1984">
<ows:LowerCorner>5.514882 49.618507</ows:LowerCorner>
<ows:UpperCorner>5.484672 49.743427</ows:UpperCorner>
</ows:BoundingBox>
in return
My first question, it doesn't seem to mather that you put the srsName attribute in the gml:envelope, I tried it with any value, and it kept on working
My second question, when I change my query into .... <gml:lowerCorner>5 40</gml:lowerCorner> ... I still see it ???
I'm using version 2_2_0
Regards,
Stephen Kempnaers
---
This e-mail, any attachments and the information it contains are confidential and meant only for the use of the addressee(s) only. Access to this e-mail by anyone other than the addressee(s) is unauthorized. If you are not the intended addressee (or responsible for delivery of the message to such person), you may not use, copy, distribute or deliver to anyone this message (or any part of its contents) or take any action in reliance on it. In such case, you should destroy this message and notify the sender immediately. If you have received this e-mail in error, please notify us immediately by e-mail or telephone and delete the e-mail from any computer.
All reasonable precautions have been taken to ensure no viruses are present in this e-mail and its attachments. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use.