Hi, I'm testing the CSW plugin with GeoNetwork 2.7.0 trunk version. And discover that the usually request send from plugin:
<?xml version="1.0" encoding="UTF-8"?> <csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ows=" http://www.opengis.net/ows" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" maxRecords="10" outputFormat="application/xml" outputSchema=" http://www.opengis.net/cat/csw/2.0.2" resultType="results" service="CSW" version="2.0.2" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"> <csw:Query typeNames="csw:Record"> <csw:ElementSetName>full</csw:ElementSetName> <csw:Constraint version="1.1.0"> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:BBOX> <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName> <gml:Envelope xmlns:gml="http://www.opengis.net/gml" > <gml:lowerCorner>-180 -90</gml:lowerCorner> <gml:upperCorner>180 90</gml:upperCorner> </gml:Envelope> </ogc:BBOX> </ogc:Filter> </csw:Constraint> </csw:Query> </csw:GetRecords> Don't work infact this sample return 0 result (should be return 1 result). Instead it work if I remove the "ows:BoundingBox" value-tag. <?xml version="1.0" encoding="UTF-8"?> <csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ows=" http://www.opengis.net/ows" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" maxRecords="10" outputFormat="application/xml" outputSchema=" http://www.opengis.net/cat/csw/2.0.2" resultType="results" service="CSW" version="2.0.2" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"> <csw:Query typeNames="csw:Record"> <csw:ElementSetName>full</csw:ElementSetName> <csw:Constraint version="1.1.0"> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:BBOX> <gml:Envelope xmlns:gml="http://www.opengis.net/gml" > <gml:lowerCorner>-180 -90</gml:lowerCorner> <gml:upperCorner>180 90</gml:upperCorner> </gml:Envelope> </ogc:BBOX> </ogc:Filter> </csw:Constraint> </csw:Query> </csw:GetRecords> I'm not sure if this is a deprecated in the CSW std or instead a bug of GN. I submitted the problem to the guys of GN. regards, -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer