Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INSPIRE CSW faulty #195

Open
armin11 opened this issue May 23, 2024 · 1 comment
Open

INSPIRE CSW faulty #195

armin11 opened this issue May 23, 2024 · 1 comment
Labels
bug Something isn't working geoportal core This issue is about the INSPIRE geoportal core under analysis A first analysis is being performed

Comments

@armin11
Copy link

armin11 commented May 23, 2024

Dear colleagues,

your CSW interface (https://inspire-geoportal.ec.europa.eu/srv/ger/csw?REQUEST=GetCapabilities&VERSION=2.0.2&SERVICE=CSW) don't work as expected. Can you check your geonetwork configuration?

Example post request which work (search for series):

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords service="CSW" version="2.0.2" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0" xmlns:gml="http://www.opengis.net/gml" maxRecords="10" startPosition="1" outputSchema="http://www.isotc211.org/2005/gmd" resultType="results">
<csw:Query typeNames="csw:Record">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<ogc:Filter>
<ogc:And>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>Type</ogc:PropertyName>
<ogc:Literal>series</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsLike wildCard="*" singleChar="_" escapeChar="/">
<ogc:PropertyName>AnyText</ogc:PropertyName>
<ogc:Literal>*baum*</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:And>
</ogc:Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>

If we try to search for dataset or services this will not work:

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords service="CSW" version="2.0.2" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0" xmlns:gml="http://www.opengis.net/gml" maxRecords="10" startPosition="1" outputSchema="http://www.isotc211.org/2005/gmd" resultType="results">
<csw:Query typeNames="csw:Record">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<ogc:Filter>
<ogc:And>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>Type</ogc:PropertyName>
<ogc:Literal>dataset</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsLike wildCard="*" singleChar="_" escapeChar="/">
<ogc:PropertyName>AnyText</ogc:PropertyName>
<ogc:Literal>*baum*</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:And>
</ogc:Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>

Which version of geowetwork do you use? Is the project on github?

In our test catalogue (gn 4.4.4.0) the CSW-interface workes out of the box - some pre versions (4+) had problems.
https://documents.geoportal.rlp.de/geonetwork/srv/ger/catalog.search#/home

In the last years, the old interface was very reliable and we use it in out productive environment to allow the search for european datasets.

Best regards from Germany,

Armin

@jescriu jescriu added under analysis A first analysis is being performed geoportal core This issue is about the INSPIRE geoportal core bug Something isn't working labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working geoportal core This issue is about the INSPIRE geoportal core under analysis A first analysis is being performed
Projects
None yet
Development

No branches or pull requests

3 participants