File tree Expand file tree Collapse file tree 2 files changed +7
-25
lines changed
schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat
services/src/test/resources/org/fao/geonet/api/records/formatters Expand file tree Collapse file tree 2 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 1414 xmlns : mdq =" http://standards.iso.org/iso/19157/-2/mdq/1.0"
1515 xmlns : mrc =" http://standards.iso.org/iso/19115/-3/mrc/2.0"
1616 xmlns : gcx =" http://standards.iso.org/iso/19115/-3/gcx/1.0"
17+ xmlns : srv =" http://standards.iso.org/iso/19115/-3/srv/2.0"
1718 xmlns : xlink =" http://www.w3.org/1999/xlink"
1819 xmlns : rdf =" http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1920 xmlns : rdfs =" http://www.w3.org/2000/01/rdf-schema#"
147148 <!-- TODO: SEMICeu check if GetCapabilities in URL. Could check for protocols ?-->
148149 <xsl : variable name =" pointsToService" select =" false()" />
149150
151+ <xsl : variable name =" isServiceMetadata"
152+ select =" exists(//mdb:MD_Metadata/mdb:identificationInfo/srv:SV_ServiceIdentification)" />
153+
150154 <xsl : choose >
151155 <xsl : when test =" normalize-space($url) = ''" />
152156 <!--
176180 </foaf : Document >
177181 </foaf : page >
178182 </xsl : when >
183+ <xsl : when test =" $isServiceMetadata" >
184+ <!-- Don't add distribution for service metadata -->
185+ </xsl : when >
179186 <xsl : otherwise >
180187 <dcat : distribution >
181188 <dcat : Distribution >
Original file line number Diff line number Diff line change 341341 </dct : description >
342342 </foaf : Document >
343343 </foaf : page >
344- <dcat : distribution >
345- <dcat : Distribution >
346- <dct : title xml : lang =" fr" >INSPIRE Sites Protégés - Service de téléchargement
347-
348- </dct : title >
349- <dct : description xml : lang =" fr" >Adresse de connexion au service de téléchargement ATOM Feed des couches de données
350- du thème "Sites protégés".
351-
352- </dct : description >
353- <dct : issued rdf : datatype =" http://www.w3.org/2001/XMLSchema#date" >2017-11-15</dct : issued >
354-
355-
356-
357- <dcat : accessURL rdf : resource =" https://geoservices.wallonie.be/inspire/atom/PS_Service.xml" />
358- <dcat : accessService >
359- <rdf : Description >
360- <rdf : type rdf : resource =" http://www.w3.org/ns/dcat#DataService" />
361- <dct : title xml : lang =" fr" >INSPIRE Sites Protégés - Service de téléchargement
362-
363- </dct : title >
364- <dcat : endpointURL rdf : resource =" https://geoservices.wallonie.be/inspire/atom/PS_Service.xml" />
365- </rdf : Description >
366- </dcat : accessService >
367- </dcat : Distribution >
368- </dcat : distribution >
369344 <foaf : documentation >
370345 <foaf : Document rdf : about =" https://directory.spatineo.com/service/164564" >
371346 <dct : title xml : lang =" fr" >Statistiques de disponibilité WMS</dct : title >
You can’t perform that action at this time.
0 commit comments