Skip to content

Instantly share code, notes, and snippets.

@Bakaniko
Created March 23, 2018 09:25
Show Gist options
  • Save Bakaniko/db59ed33012313121eaf81c0e7d9ac76 to your computer and use it in GitHub Desktop.
Save Bakaniko/db59ed33012313121eaf81c0e7d9ac76 to your computer and use it in GitHub Desktop.
Example metadata record
<MD_Metadata xmlns="http://www.isotc211.org/2005/gmd"; xmlns:gco="
http://www.isotc211.org/2005/gco"; xmlns:gts="
http://www.isotc211.org/2005/gts"; xmlns:srv="
http://www.isotc211.org/2005/srv"; xmlns:gml="http://www.opengis.net/gml";
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">;
<language>
<LanguageCode codeList="
http://www.loc.gov/standards/iso639-2/php/code_list.php";
codeListValue="fre" codeSpace="ISO639-2">fre</LanguageCode>
</language>
<characterSet>
<MD_CharacterSetCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode";
codeListValue="utf8" codeSpace="ISOTC211/19115">utf8</MD_CharacterSetCode>
</characterSet>
<hierarchyLevel>
<MD_ScopeCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode";
codeListValue="dataset" codeSpace="ISOTC211/19115">dataset</MD_ScopeCode>
</hierarchyLevel>
<hierarchyLevelName>
<gco:CharacterString>dataset</gco:CharacterString>
</hierarchyLevelName>
<contact>
<CI_ResponsibleParty>
<individualName>
<gco:CharacterString>DE INT</gco:CharacterString>
</individualName>
<organisationName>
<gco:CharacterString>STIF</gco:CharacterString>
</organisationName>
<contactInfo>
<CI_Contact>
<address>
<CI_Address>
<electronicMailAddress>
<gco:CharacterString>example@...</gco:CharacterString>
</electronicMailAddress>
</CI_Address>
</address>
</CI_Contact>
</contactInfo>
<role>
<CI_RoleCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode";
codeListValue="pointOfContact"
codeSpace="ISOTC211/19115">pointOfContact</CI_RoleCode>
</role>
</CI_ResponsibleParty>
</contact>
<dateStamp>
<gco:Date>2018-03-21</gco:Date>
</dateStamp>
<metadataStandardName>
<gco:CharacterString>ISO 19139 Geographic Information - Metadata -
Implementation Specification</gco:CharacterString>
</metadataStandardName>
<metadataStandardVersion>
<gco:CharacterString>2007</gco:CharacterString>
</metadataStandardVersion>
<spatialRepresentationInfo>
<MD_VectorSpatialRepresentation>
<topologyLevel>
<MD_TopologyLevelCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopologyLevelCode";
codeListValue="geometryOnly"
codeSpace="ISOTC211/19115">geometryOnly</MD_TopologyLevelCode>
</topologyLevel>
<geometricObjects>
<MD_GeometricObjects>
<geometricObjectType>
<MD_GeometricObjectTypeCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_GeometricObjectTypeCode";
codeListValue="composite"
codeSpace="ISOTC211/19115">composite</MD_GeometricObjectTypeCode>
</geometricObjectType>
<geometricObjectCount>
<gco:Integer>146</gco:Integer>
</geometricObjectCount>
</MD_GeometricObjects>
</geometricObjects>
</MD_VectorSpatialRepresentation>
</spatialRepresentationInfo>
<referenceSystemInfo>
<MD_ReferenceSystem>
<referenceSystemIdentifier>
<RS_Identifier>
<code>
<gco:CharacterString>2154</gco:CharacterString>
</code>
<codeSpace>
<gco:CharacterString>EPSG</gco:CharacterString>
</codeSpace>
<version>
<gco:CharacterString>6.16(9.0.0)</gco:CharacterString>
</version>
</RS_Identifier>
</referenceSystemIdentifier>
</MD_ReferenceSystem>
</referenceSystemInfo>
<identificationInfo>
<MD_DataIdentification>
<citation>
<CI_Citation>
<title>
<gco:CharacterString>Etablissements Publics de Coopération
Intercommunale</gco:CharacterString>
</title>
<date>
<CI_Date>
<date>
<gco:Date>2016-04-25</gco:Date>
</date>
<dateType>
<CI_DateTypeCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode";
codeListValue="creation"
codeSpace="ISOTC211/19115">creation</CI_DateTypeCode>
</dateType>
</CI_Date>
</date>
<identifier>
<MD_Identifier>
<code>
<gco:CharacterString>test</gco:CharacterString>
</code>
</MD_Identifier>
</identifier>
<citedResponsibleParty>
<CI_ResponsibleParty>
<individualName>
<gco:CharacterString>DE INT</gco:CharacterString>
</individualName>
<organisationName>
<gco:CharacterString>test</gco:CharacterString>
</organisationName>
<role>
<CI_RoleCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode";
codeListValue="pointOfContact"
codeSpace="ISOTC211/19115">pointOfContact</CI_RoleCode>
</role>
</CI_ResponsibleParty>
</citedResponsibleParty>
<presentationForm>
<CI_PresentationFormCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_PresentationFormCode";
codeListValue="mapDigital"
codeSpace="ISOTC211/19115">mapDigital</CI_PresentationFormCode>
</presentationForm>
</CI_Citation>
</citation>
<abstract>
<gco:CharacterString>La couche est issue du regroupement des
emprises communales à partir de la description des EPCI du ministère de
l'interieur (source:
http://www.collectivites-locales.gouv.fr/liste-et-composition-des-epci-a-fiscalite-propre).Tous
les EPCI des communes concernées par la zone de desserte du STIF (y compris
hors Ile-de-France) sont décrites intégralement.</gco:CharacterString>
</abstract>
<purpose>
<gco:CharacterString>Emprises des Etablissements Publics de
Coopération Intercommunale en Ile-de-France.</gco:CharacterString>
</purpose>
<credit>
<gco:CharacterString>test, http://www.collectivites-locales.gouv.fr
</gco:CharacterString>
</credit>
<pointOfContact>
<CI_ResponsibleParty>
<individualName>
<gco:CharacterString>DE INT</gco:CharacterString>
</individualName>
<organisationName>
<gco:CharacterString>STIF</gco:CharacterString>
</organisationName>
<contactInfo>
<CI_Contact>
<address>
<CI_Address>
<electronicMailAddress>
<gco:CharacterString>example.mail.com
</gco:CharacterString>
</electronicMailAddress>
</CI_Address>
</address>
</CI_Contact>
</contactInfo>
<role>
<CI_RoleCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode";
codeListValue="pointOfContact"
codeSpace="ISOTC211/19115">pointOfContact</CI_RoleCode>
</role>
</CI_ResponsibleParty>
</pointOfContact>
<resourceMaintenance>
<MD_MaintenanceInformation>
<maintenanceAndUpdateFrequency>
<MD_MaintenanceFrequencyCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_MaintenanceFrequencyCode";
codeListValue="annually"
codeSpace="ISOTC211/19115">annually</MD_MaintenanceFrequencyCode>
</maintenanceAndUpdateFrequency>
</MD_MaintenanceInformation>
</resourceMaintenance>
<descriptiveKeywords>
<MD_Keywords>
<keyword>
<gco:CharacterString>Downloadable Data</gco:CharacterString>
</keyword>
<thesaurusName uuidref="723f6998-058e-11dc-8314-0800200c9a66" />
</MD_Keywords>
</descriptiveKeywords>
<descriptiveKeywords>
<MD_Keywords>
<keyword>
<gco:CharacterString>EPCI collectivités CA CC SAN Métropole
Metropole</gco:CharacterString>
</keyword>
</MD_Keywords>
</descriptiveKeywords>
<resourceConstraints>
<MD_Constraints>
<useLimitation>
<gco:CharacterString>test</gco:CharacterString>
</useLimitation>
</MD_Constraints>
</resourceConstraints>
<resourceConstraints>
<MD_SecurityConstraints>
<classification>
<MD_ClassificationCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ClassificationCode";
codeListValue="unclassified"
codeSpace="ISOTC211/19115">unclassified</MD_ClassificationCode>
</classification>
</MD_SecurityConstraints>
</resourceConstraints>
<spatialRepresentationType>
<MD_SpatialRepresentationTypeCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode";
codeListValue="vector"
codeSpace="ISOTC211/19115">vector</MD_SpatialRepresentationTypeCode>
</spatialRepresentationType>
<language>
<LanguageCode codeList="
http://www.loc.gov/standards/iso639-2/php/code_list.php";
codeListValue="fre" codeSpace="ISO639-2">fre</LanguageCode>
</language>
<characterSet>
<MD_CharacterSetCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode";
codeListValue="utf8" codeSpace="ISOTC211/19115">utf8</MD_CharacterSetCode>
</characterSet>
<topicCategory>
<MD_TopicCategoryCode>boundaries</MD_TopicCategoryCode>
</topicCategory>
<topicCategory>
<MD_TopicCategoryCode>transportation</MD_TopicCategoryCode>
</topicCategory>
<environmentDescription>
<gco:CharacterString> Version 6.2 (Build 9200) ; Esri ArcGIS
10.5.1.7333</gco:CharacterString>
</environmentDescription>
<extent>
<EX_Extent>
<geographicElement>
<EX_GeographicBoundingBox>
<extentTypeCode>
<gco:Boolean>true</gco:Boolean>
</extentTypeCode>
<westBoundLongitude>
<gco:Decimal>0.912372</gco:Decimal>
</westBoundLongitude>
<eastBoundLongitude>
<gco:Decimal>3.775548</gco:Decimal>
</eastBoundLongitude>
<southBoundLatitude>
<gco:Decimal>47.748689</gco:Decimal>
</southBoundLatitude>
<northBoundLatitude>
<gco:Decimal>49.543602</gco:Decimal>
</northBoundLatitude>
</EX_GeographicBoundingBox>
</geographicElement>
</EX_Extent>
</extent>
</MD_DataIdentification>
</identificationInfo>
<distributionInfo>
<MD_Distribution>
<distributionFormat>
<MD_Format>
<name>
<gco:CharacterString>SDE Feature Class</gco:CharacterString>
</name>
<version>
<gco:CharacterString>test</gco:CharacterString>
</version>
</MD_Format>
</distributionFormat>
<transferOptions>
<MD_DigitalTransferOptions>
<transferSize>
<gco:Real>6.139</gco:Real>
</transferSize>
</MD_DigitalTransferOptions>
</transferOptions>
<transferOptions>
<MD_DigitalTransferOptions />
</transferOptions>
</MD_Distribution>
</distributionInfo>
<dataQualityInfo>
<DQ_DataQuality>
<scope>
<DQ_Scope>
<level>
<MD_ScopeCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode";
codeListValue="dataset" codeSpace="ISOTC211/19115">dataset</MD_ScopeCode>
</level>
</DQ_Scope>
</scope>
<report>
<DQ_DomainConsistency>
<result>
<DQ_ConformanceResult>
<specification>
<CI_Citation>
<title>
<gco:CharacterString>Test</gco:CharacterString>
</title>
<date>
<CI_Date>
<date>
<gco:Date>2018-03-21</gco:Date>
</date>
<dateType>
<CI_DateTypeCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode";
codeListValue="creation"
codeSpace="ISOTC211/19115">creation</CI_DateTypeCode>
</dateType>
</CI_Date>
</date>
</CI_Citation>
</specification>
<explanation gco:nilReason="missing" />
<pass>
<gco:Boolean>true</gco:Boolean>
</pass>
</DQ_ConformanceResult>
</result>
</DQ_DomainConsistency>
</report>
<lineage>
<LI_Lineage>
<statement>
<gco:CharacterString>test
</gco:CharacterString>
</statement>
</LI_Lineage>
</lineage>
</DQ_DataQuality>
</dataQualityInfo>
<metadataMaintenance>
<MD_MaintenanceInformation>
<maintenanceAndUpdateFrequency>
<MD_MaintenanceFrequencyCode codeList="
http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_MaintenanceFrequencyCode";
codeListValue="annually"
codeSpace="ISOTC211/19115">annually</MD_MaintenanceFrequencyCode>
</maintenanceAndUpdateFrequency>
</MD_MaintenanceInformation>
</metadataMaintenance>
</MD_Metadata>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment