Skip to content

CodeLists

Ted Habermann edited this page Sep 6, 2017 · 12 revisions

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).

Legacy code lists:

Legacy codelists exist in several locations. The Table below shows the status of those codelists. The most recent versions of these codelists have been moved to http://standards.iso.org/iso/19139/resources/codelist

http://www.isotc211.org/2005/resources/Codelist/ | http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO\_19139\_Schemas/resources/codelist/ ------------- | ------------- | ------------- ML_gmxCodelists.xml | ML_gmxCodelists.xml (edits made 2012-07-13) gmxCodelists.xml (edits made 2008-09-11) | gmxCodelists.xml (edits made 2008-09-11, 2012-07-13) gmiCodelists.xml (created 2007-07-07, includes all MI_* code lists from ISO 19139-2) | tcCodelists.xml (created 2012-07-13, includes TC_AggregationType)

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 the most up-to-date content from http://www.isotc211.org/2005/resources/Codelist/ and http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO\_19139\_Schemas/resources/codelist/ on January 27, 2016.