[GeoNetwork-devel] filter-to-lucene BBOX problem

Hi all,

For more precise querying on the MetaData using programmatic posts like eg:

POST /geonetwork/srv/en/csw

User-Agent: Jakarta Commons-HttpClient/3.0.1

Host: localhost:8080

Cookie: JSESSIONID=fo7lfsj5ekhrg

Content-Length: 1107

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” outputSchema=“csw:Record”>

csw:Query

<csw:Constraint version=“1.1.0”>

ows:BoundingBox

<gml:Envelope srsName=“http://www.opengis.net/gml/srs/epsg.xml#63266405”>

gml:lowerCorner49.74 5.51</gml:lowerCorner>

gml:upperCorner49.8 5.6</gml:upperCorner>

</gml:Envelope>

keyword

HAP

</csw:Constraint>

</csw:Query>

</csw:GetRecords>

</env:Body>

</env:Envelope>

I had to change the filter-to-lucene.xsl file like this: ( I removed all the +1 -1 stuff )

Does anybody see a problem with this change?

Kind Regards,
Stephen


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.