From: SAUL S. <Sib...@st...> - 2011-11-22 15:07:37
|
Hello! I guess this is a dummy question but so far I could not find a solution. I would like to filter the metadata regionally (bounding box) via a http request. This is the statement that I use (Working on Snapshot 2.7.0): <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"> <ogc:BBOX> <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName> <gml:Envelope> <gml:lowerCorner>8 40</gml:lowerCorner> <gml:upperCorner>20 53</gml:upperCorner> </gml:Envelope> </ogc:BBOX> </ogc:Filter> But I get the following error: Raised exception while searching metadata : org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx: code=NoApplicableCode, locator=null, message=Error when parsing spatial filter (version: 1.0.0) ... Error is: java.lang.RuntimeException: Parsing failed for BBOX: java.lang.NullPointerException What is the point that I am missing? Thank you for your help! Sibylle Mag. Sibylle Saul Bundesanstalt Statistik Österreich Abteilung Register, Klassifikationen und Methodik Kartographie und GIS Guglgasse 13, 1110 Wien Tel.: +43-1-71128 8024 E-Mail: sib...@st... www.statistik.at _______________________________________________________________________ Die Bundesanstalt Statistik Österreich sowie alle Mitwirkenden an den beigefügten Unterlagen haben deren Inhalte sorgfältig recherchiert und erstellt. Fehler können dennoch nicht gänzlich ausgeschlossen werden. Die Genannten übernehmen daher keine Haftung für die Richtigkeit, Vollständigkeit und Aktualität der Inhalte, insbesondere übernehmen sie keinerlei Haftung für eventuelle unmittelbare oder mittelbare Schäden, die durch die direkte oder indirekte Nutzung der angebotenen Inhalte entstehen. Korrekturhinweise übermitteln Sie bitte an die absendende Stelle. Diese Nachricht ist ausschließlich für die in der Anschrift genannte Person bestimmt. Sollten Sie dieses E-Mail irrtümlich erhalten haben, verständigen Sie bitte die absendende Stelle und vernichten Sie die Nachricht inklusive aller Anhänge. Danke. Bundesanstalt Statistik Österreich, 1110 Wien, Guglgasse 13 Tel. +43 (1) 71128-0, Fax +43 (1) 71128-7728 E-Mail: of...@st..., Internet: www.statistik.at Firmenbuch: FN 191155k, Firmenbuchgericht: Handelsgericht Wien Firmensitz: Wien, Gerichtsstand: Wien, UID: ATU37869909, DVR 0000043 _______________________________________________________________________ |