377 lines
15 KiB
XML
377 lines
15 KiB
XML
## -*- coding: utf-8 -*-
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:srv="http://www.isotc211.org/2005/srv"
|
|
xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:wms="http://www.opengis.net/wms"
|
|
xmlns:inspire_vs="http://inspire.ec.europa.eu/schemas/inspire_vs/1.0"
|
|
xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0"
|
|
xmlns:gml="http://www.opengis.net/gml" xmlns:gts="http://www.isotc211.org/2005/gts"
|
|
xmlns:geonet="http://www.fao.org/geonetwork" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd
|
|
http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd">
|
|
<gmd:fileIdentifier>
|
|
<gco:CharacterString>${file_identifier}</gco:CharacterString>
|
|
</gmd:fileIdentifier>
|
|
<gmd:language>
|
|
<gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="fre" />
|
|
</gmd:language>
|
|
<gmd:characterSet>
|
|
<gmd:MD_CharacterSetCode codeList="./resources/codeList.xml#MD_CharacterSetCode" codeListValue="utf8" />
|
|
</gmd:characterSet>
|
|
<gmd:hierarchyLevel>
|
|
<gmd:MD_ScopeCode codeList="./resources/codeList.xml#MD_ScopeCode" codeListValue="service" />
|
|
</gmd:hierarchyLevel>
|
|
<gmd:contact>
|
|
<gmd:CI_ResponsibleParty>
|
|
<gmd:individualName>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:individualName>
|
|
<gmd:organisationName>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:organisationName>
|
|
<gmd:positionName>
|
|
<gco:CharacterString>distributor</gco:CharacterString>
|
|
</gmd:positionName>
|
|
<gmd:contactInfo>
|
|
<gmd:CI_Contact>
|
|
<gmd:phone>
|
|
<gmd:CI_Telephone>
|
|
<gmd:voice>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:voice>
|
|
<gmd:facsimile>
|
|
<gco:CharacterString />
|
|
</gmd:facsimile>
|
|
</gmd:CI_Telephone>
|
|
</gmd:phone>
|
|
<gmd:address>
|
|
<gmd:CI_Address>
|
|
<gmd:deliveryPoint>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:deliveryPoint>
|
|
<gmd:city>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:city>
|
|
<gmd:administrativeArea>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:administrativeArea>
|
|
<gmd:postalCode>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:postalCode>
|
|
<gmd:country>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:country>
|
|
<gmd:electronicMailAddress>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:electronicMailAddress>
|
|
</gmd:CI_Address>
|
|
</gmd:address>
|
|
<gmd:onlineResource>
|
|
<gmd:CI_OnlineResource>
|
|
<gmd:linkage>
|
|
<gmd:URL></gmd:URL>
|
|
</gmd:linkage>
|
|
</gmd:CI_OnlineResource>
|
|
</gmd:onlineResource>
|
|
</gmd:CI_Contact>
|
|
</gmd:contactInfo>
|
|
<gmd:role>
|
|
<gmd:CI_RoleCode codeList="./resources/codeList.xml#CI_RoleCode" codeListValue="pointOfContact" />
|
|
</gmd:role>
|
|
</gmd:CI_ResponsibleParty>
|
|
</gmd:contact>
|
|
<gmd:dateStamp>
|
|
<gco:DateTime>${current_date}</gco:DateTime>
|
|
</gmd:dateStamp>
|
|
<gmd:metadataStandardName>
|
|
<gco:CharacterString>ISO 19119/2005</gco:CharacterString>
|
|
</gmd:metadataStandardName>
|
|
<gmd:metadataStandardVersion>
|
|
<gco:CharacterString>1.0</gco:CharacterString>
|
|
</gmd:metadataStandardVersion>
|
|
<gmd:identificationInfo>
|
|
<srv:SV_ServiceIdentification>
|
|
<gmd:citation>
|
|
<gmd:CI_Citation>
|
|
<gmd:title>
|
|
<gco:CharacterString>${service_name}</gco:CharacterString>
|
|
</gmd:title>
|
|
<gmd:date>
|
|
<gmd:CI_Date>
|
|
<gmd:date>
|
|
<gco:DateTime>${current_datetime}</gco:DateTime>
|
|
</gmd:date>
|
|
<gmd:dateType>
|
|
<gmd:CI_DateTypeCode codeList="./resources/codeList.xml#CI_DateTypeCode" codeListValue="revision" />
|
|
</gmd:dateType>
|
|
</gmd:CI_Date>
|
|
</gmd:date>
|
|
</gmd:CI_Citation>
|
|
</gmd:citation>
|
|
<gmd:abstract>
|
|
<gco:CharacterString>${abstract}</gco:CharacterString>
|
|
</gmd:abstract>
|
|
<gmd:status>
|
|
<gmd:MD_ProgressCode codeList="./resources/codeList.xml#MD_ProgressCode" codeListValue="completed" />
|
|
</gmd:status>
|
|
<gmd:pointOfContact>
|
|
<gmd:CI_ResponsibleParty>
|
|
<gmd:individualName>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:individualName>
|
|
<gmd:organisationName>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:organisationName>
|
|
<gmd:positionName>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:positionName>
|
|
<gmd:contactInfo>
|
|
<gmd:CI_Contact>
|
|
<gmd:phone>
|
|
<gmd:CI_Telephone>
|
|
<gmd:voice>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:voice>
|
|
<gmd:facsimile>
|
|
<gco:CharacterString />
|
|
</gmd:facsimile>
|
|
</gmd:CI_Telephone>
|
|
</gmd:phone>
|
|
<gmd:address>
|
|
<gmd:CI_Address>
|
|
<gmd:deliveryPoint>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:deliveryPoint>
|
|
<gmd:city>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:city>
|
|
<gmd:administrativeArea>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:administrativeArea>
|
|
<gmd:postalCode>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:postalCode>
|
|
<gmd:country>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:country>
|
|
<gmd:electronicMailAddress>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:electronicMailAddress>
|
|
</gmd:CI_Address>
|
|
</gmd:address>
|
|
<gmd:onlineResource>
|
|
<gmd:CI_OnlineResource>
|
|
<gmd:linkage>
|
|
<gmd:URL></gmd:URL>
|
|
</gmd:linkage>
|
|
</gmd:CI_OnlineResource>
|
|
</gmd:onlineResource>
|
|
</gmd:CI_Contact>
|
|
</gmd:contactInfo>
|
|
<gmd:role>
|
|
<gmd:CI_RoleCode codeList="./resources/codeList.xml#CI_RoleCode" codeListValue="pointOfContact" />
|
|
</gmd:role>
|
|
</gmd:CI_ResponsibleParty>
|
|
</gmd:pointOfContact>
|
|
<gmd:descriptiveKeywords>
|
|
<gmd:MD_Keywords>
|
|
<gmd:keyword>
|
|
<gco:CharacterString>infoMapAccessService</gco:CharacterString>
|
|
</gmd:keyword>
|
|
<gmd:type>
|
|
<gmd:MD_KeywordTypeCode codeList="./resources/codeList.xml#MD_KeywordTypeCode" codeListValue="theme" />
|
|
</gmd:type>
|
|
<gmd:thesaurusName>
|
|
<gmd:CI_Citation>
|
|
<gmd:title>
|
|
<gco:CharacterString>ISO</gco:CharacterString>
|
|
</gmd:title>
|
|
<gmd:alternateTitle gco:nilReason="missing">
|
|
<gco:CharacterString />
|
|
</gmd:alternateTitle>
|
|
<gmd:date gco:nilReason="missing" />
|
|
</gmd:CI_Citation>
|
|
</gmd:thesaurusName>
|
|
</gmd:MD_Keywords>
|
|
</gmd:descriptiveKeywords>
|
|
<gmd:resourceConstraints>
|
|
<gmd:MD_LegalConstraints>
|
|
<gmd:useLimitation>
|
|
<gco:CharacterString></gco:CharacterString>
|
|
</gmd:useLimitation>
|
|
<gmd:accessConstraints>
|
|
<gmd:MD_RestrictionCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions" />
|
|
</gmd:accessConstraints>
|
|
<gmd:otherConstraints>
|
|
<gco:CharacterString>Avant toute utilisation des données, consultez la fiche métadonnées associée à chaque couche.</gco:CharacterString>
|
|
</gmd:otherConstraints>
|
|
</gmd:MD_LegalConstraints>
|
|
</gmd:resourceConstraints>
|
|
<srv:serviceType>
|
|
<gco:LocalName codeSpace="www.w3c.org">view</gco:LocalName>
|
|
</srv:serviceType>
|
|
<srv:serviceTypeVersion>
|
|
<gco:CharacterString>1.3.0</gco:CharacterString>
|
|
</srv:serviceTypeVersion>
|
|
<srv:accessProperties>
|
|
<gmd:MD_StandardOrderProcess>
|
|
<gmd:fees>
|
|
<gco:CharacterString>NONE</gco:CharacterString>
|
|
</gmd:fees>
|
|
</gmd:MD_StandardOrderProcess>
|
|
</srv:accessProperties>
|
|
<srv:extent>
|
|
<gmd:EX_Extent>
|
|
<gmd:geographicElement>
|
|
<gmd:EX_GeographicBoundingBox>
|
|
<gmd:westBoundLongitude>
|
|
<gco:Decimal>-180</gco:Decimal>
|
|
</gmd:westBoundLongitude>
|
|
<gmd:eastBoundLongitude>
|
|
<gco:Decimal>180</gco:Decimal>
|
|
</gmd:eastBoundLongitude>
|
|
<gmd:southBoundLatitude>
|
|
<gco:Decimal>-90</gco:Decimal>
|
|
</gmd:southBoundLatitude>
|
|
<gmd:northBoundLatitude>
|
|
<gco:Decimal>90</gco:Decimal>
|
|
</gmd:northBoundLatitude>
|
|
</gmd:EX_GeographicBoundingBox>
|
|
</gmd:geographicElement>
|
|
</gmd:EX_Extent>
|
|
</srv:extent>
|
|
% for layer in layers:
|
|
<srv:coupledResource>
|
|
<srv:SV_CoupledResource>
|
|
<srv:operationName>
|
|
<gco:CharacterString>GetMap</gco:CharacterString>
|
|
</srv:operationName>
|
|
<srv:identifier>
|
|
<gco:CharacterString>${layer['mdd_url']}</gco:CharacterString>
|
|
</srv:identifier>
|
|
<gco:ScopedName>${layer['name']}</gco:ScopedName>
|
|
</srv:SV_CoupledResource>
|
|
</srv:coupledResource>
|
|
% endfor
|
|
<srv:couplingType>
|
|
<srv:SV_CouplingType codeList="./resources/codeList.xml#SV_CouplingType" codeListValue="tight">tight</srv:SV_CouplingType>
|
|
</srv:couplingType>
|
|
<srv:containsOperations>
|
|
<srv:SV_OperationMetadata>
|
|
<srv:operationName>
|
|
<gco:CharacterString>GetCapabilities</gco:CharacterString>
|
|
</srv:operationName>
|
|
<srv:DCP>
|
|
<srv:DCPList codeList="http://www.isotc211.org/2005/iso19119/resources/Codelist/gmxCodelists.xml#DCPList" codeListValue="WebServices" />
|
|
</srv:DCP>
|
|
<srv:connectPoint>
|
|
<gmd:CI_OnlineResource>
|
|
<gmd:linkage>
|
|
<gmd:URL>${service_url}</gmd:URL>
|
|
</gmd:linkage>
|
|
<gmd:protocol>
|
|
<gco:CharacterString>text/xml</gco:CharacterString>
|
|
</gmd:protocol>
|
|
<gmd:description>
|
|
<gco:CharacterString>Format : text/xml</gco:CharacterString>
|
|
</gmd:description>
|
|
<gmd:function>
|
|
<gmd:CI_OnLineFunctionCode codeList="./resources/codeList.xml#CI_OnLineFunctionCode" codeListValue="information" />
|
|
</gmd:function>
|
|
</gmd:CI_OnlineResource>
|
|
</srv:connectPoint>
|
|
</srv:SV_OperationMetadata>
|
|
</srv:containsOperations>
|
|
% for layer in layers:
|
|
<srv:operatesOn uuidref="${layer['mdd_uuid']}" xlink:href="${layer['mdd_url']}" />
|
|
% endfor
|
|
</srv:SV_ServiceIdentification>
|
|
</gmd:identificationInfo>
|
|
<gmd:distributionInfo>
|
|
<gmd:MD_Distribution>
|
|
<gmd:distributionFormat>
|
|
<gmd:MD_Format>
|
|
<gmd:name gco:nilReason="missing">
|
|
<gco:CharacterString />
|
|
</gmd:name>
|
|
<gmd:version gco:nilReason="missing">
|
|
<gco:CharacterString />
|
|
</gmd:version>
|
|
</gmd:MD_Format>
|
|
</gmd:distributionFormat>
|
|
<gmd:transferOptions>
|
|
<gmd:MD_DigitalTransferOptions>
|
|
<gmd:onLine>
|
|
<gmd:CI_OnlineResource>
|
|
<gmd:linkage>
|
|
<gmd:URL>${service_url}</gmd:URL>
|
|
</gmd:linkage>
|
|
<gmd:protocol>
|
|
<gco:CharacterString>application/vnd.ogc.wms_xml</gco:CharacterString>
|
|
</gmd:protocol>
|
|
<gmd:description>
|
|
<gco:CharacterString>${service_url}</gco:CharacterString>
|
|
</gmd:description>
|
|
</gmd:CI_OnlineResource>
|
|
</gmd:onLine>
|
|
</gmd:MD_DigitalTransferOptions>
|
|
</gmd:transferOptions>
|
|
</gmd:MD_Distribution>
|
|
</gmd:distributionInfo>
|
|
<gmd:dataQualityInfo>
|
|
<gmd:DQ_DataQuality>
|
|
<gmd:scope>
|
|
<gmd:DQ_Scope>
|
|
<gmd:level>
|
|
<gmd:MD_ScopeCode codeListValue="service" codeList="./resources/codeList.xml#MD_ScopeCode" />
|
|
</gmd:level>
|
|
<gmd:levelDescription>
|
|
<gmd:MD_ScopeDescription>
|
|
<gmd:attributes />
|
|
</gmd:MD_ScopeDescription>
|
|
</gmd:levelDescription>
|
|
</gmd:DQ_Scope>
|
|
</gmd:scope>
|
|
<gmd:report>
|
|
<gmd:DQ_DomainConsistency>
|
|
<gmd:result>
|
|
<gmd:DQ_ConformanceResult>
|
|
<gmd:specification>
|
|
<gmd:CI_Citation>
|
|
<gmd:title>
|
|
<gco:CharacterString>COMMISSION REGULATION implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services</gco:CharacterString>
|
|
</gmd:title>
|
|
<gmd:date>
|
|
<gmd:CI_Date>
|
|
<gmd:date>
|
|
<gco:Date>2010-12-10</gco:Date>
|
|
</gmd:date>
|
|
<gmd:dateType>
|
|
<gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" />
|
|
</gmd:dateType>
|
|
</gmd:CI_Date>
|
|
</gmd:date>
|
|
</gmd:CI_Citation>
|
|
</gmd:specification>
|
|
<gmd:explanation>
|
|
<gco:CharacterString>Conformite non evaluee</gco:CharacterString>
|
|
</gmd:explanation>
|
|
<gmd:pass>
|
|
<gco:Boolean>0</gco:Boolean>
|
|
</gmd:pass>
|
|
</gmd:DQ_ConformanceResult>
|
|
</gmd:result>
|
|
</gmd:DQ_DomainConsistency>
|
|
</gmd:report>
|
|
<gmd:lineage>
|
|
<gmd:LI_Lineage>
|
|
<gmd:statement gco:nilReason="missing">
|
|
<gco:CharacterString />
|
|
</gmd:statement>
|
|
</gmd:LI_Lineage>
|
|
</gmd:lineage>
|
|
</gmd:DQ_DataQuality>
|
|
</gmd:dataQualityInfo>
|
|
</gmd:MD_Metadata>
|
|
|