-
Notifications
You must be signed in to change notification settings - Fork 26
CodeLists
Standard codeLists for the ISO TC211 metadata standards are included in two different representations:
CodeLists that were generated by ShapeChange from the UML are available in the http://standards.iso.org/iso/19115/resources/Codelist/gml/ directory. These are implemented as GML Dictionaries. In this case each codelist is in a single file (i.e. MD_ProgressCode.xml) and the gml:Dictionary includes a description and an identifier. Each entry is a dictionaryEntry:
<Dictionary xmlns="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" gml:id="MD_ProgressCode"
xsi:schemaLocation="http://www.opengis.net/gml/3.2 null">
<description>status of the resource</description>
<identifier codeSpace="http://www.isotc211.org/namespace/mcc/1.0/2014-07-11">MD_ProgressCode</identifier>
<dictionaryEntry>
<Definition gml:id="_12309_18728">
<description>has been completed</description>
<identifier codeSpace="http://www.isotc211.org/namespace/mcc/1.0/2014-07-11/MD_ProgressCode">completed</identifier>
</Definition>
</dictionaryEntry>
...
</Dictionary>
Codelists generated as cat:CT_CodelistCatalogue are included in the file http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml and listed in the file http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.html. In this case, each codelist is implemented as a cat:CT_Codelist with an identifier, a name, a definition, and a description. Each codelist value is implemented as a cat:CT_CodelistValue with an identifier and a definition:
<cat:codelistItem>
<cat:CT_Codelist id="MD_ProgressCode">
<cat:identifier>
<gco:ScopedName codeSpace="http://standards.iso.org/iso/19115">MD_ProgressCode</gco:ScopedName>
</cat:identifier>
<cat:name>
<gco:ScopedName codeSpace="http://standards.iso.org/iso/19115">MD_ProgressCode</gco:ScopedName>
</cat:name>
<cat:definition>
<gco:CharacterString>status of the resource</gco:CharacterString>
</cat:definition>
<cat:description>
<gco:CharacterString>status of the resource</gco:CharacterString>
</cat:description>
<cat:codeEntry>
<cat:CT_CodelistValue id="MD_ProgressCode_completed">
<cat:identifier>
<gco:ScopedName codeSpace="http://standards.iso.org/iso/19115">MD_ProgressCode_completed</gco:ScopedName>
</cat:identifier>
<cat:definition>
<gco:CharacterString>has been completed</gco:CharacterString>
</cat:definition>
</cat:CT_CodelistValue>
</cat:codeEntry>
...
<cat:CT_Codelist>
</cat:codelistItem>
The cat:CT_CodelistCatalogue representations of the codelists are also available in the directories for each namespace as xml (i.e. http://standards.iso.org/iso/19115/-3/mri/1.0/codelists.xml) and html (i.e. http://standards.iso.org/iso/19115/-3/mri/1.0/codelists.html).
Codelists that were located at http://standards.iso.org/iso/19139/resources/codelist/ were inadvertently removed in the process of moving new schemas onto the standards.iso.org repository. They were replaced with content from http://www.isotc211.org/2005/resources/Codelist/ on January 27, 2016.