Open stijngoedertier opened 6 years ago
The spatial object type can be encoded using a gmx:Anchor element, as in the example below.
<gmd:descriptiveKeywords
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gco="http://www.isotc211.org/2005/gco">
<gmd:MD_Keywords>
<gmd:keyword>
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/featureconcept/ProtectedSite">ProtectedSite</gmx:Anchor>
</gmd:keyword>
<gmd:type>
<gmd:MD_KeywordTypeCode codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_KeywordTypeCode" codeListValue="theme"/>
</gmd:type>
<gmd:thesaurusName>
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>INSPIRE feature concept dictionary</gco:CharacterString>
</gmd:title>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gco:CharacterString>http://inspire.ec.europa.eu/featureconcept</gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
</gmd:CI_Citation>
</gmd:thesaurusName>
</gmd:MD_Keywords>
</gmd:descriptiveKeywords>
The attached SKOS code list featureconcept.en.skos.rdf.zip can be imported into GeoNetwork as a thesaurus. It was converted from the RDF output in the INSPIRE Registry and converted into SKOS using this SPARQL query:
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX adms: <http://www.w3.org/ns/adms#>
BASE <http://inspire.ec.europa.eu/featureconcept/>
CONSTRUCT {
?cs a skos:ConceptScheme.
?cs ?csp ?cso.
?c a skos:Concept.
?cs skos:hasTopConcept ?c.
?c skos:inScheme ?cs.
?c skos:prefLabel ?cLabel.
?c dct:description ?cDesc.
?c dcat:theme ?theme.
}
WHERE {
?cs a dcat:Dataset.
?cs ?csp ?cso.
FILTER(?csp = dct:description || ?csp = dct:title).
?cs dct:hasPart ?c.
?c a ? <http://purl.org/net/provenance/ns#DataItem>.
?c dct:identifier ?cLabel.
?c dcat:theme ?theme.
?c dct:description ?cDesc.
?c adms:status <http://inspire.ec.europa.eu/registry/status/valid>.
}
According to TG Requirement 28, the ATOM feeds should include a reference to the spatial object type(s).
<atom:link href="http://inspire.ec.europa.eu/featureconcept/ProtectedSite" rel="describedby" type="text/html"/>
The object types should be taken from the INSPIRE Registry http://inspire.ec.europa.eu/featureconcept
This information should be included in the dataset metadata record as a keyword #MD_KeywordTypeCode from a thesaurus. This must be documented in the code.