Skip to content

CodeLists

Stephen Richard edited this page Nov 2, 2018 · 12 revisions

Codelist Update

During September 2017 some problems were identified with the codelists and a significant upgrade was made. All of the problems described below were fixed.

Cat Codelists

Several problems were identified in the cat codelists:

  1. the cat:identifier/gco:ScopedName elements included the names of the codelists, i.e.
<cat:cat:codeEntry>
    <cat:CT_CodelistValue id="CI_DateTypeCode_creation">
        <cat:identifier>
            <gco:ScopedName codeSpace="isotc211">CI_DateTypeCode_creation</gco:ScopedName>
        </cat:identifier>
        <cat:definition>
            <gco:CharacterString>date identifies when the resource was brought into existence</gco:CharacterString>
        </cat:definition>
    </cat:CT_CodelistValue>
</cat:cat:codeEntry>

  1. The identifier/@codeSpace attributes were not very specific, i.e. "isotc211"
  2. The cat:name and cat:description elements were missing from the cat:codeEntry elements.

The HTML description of these codelists in http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.html was also improved.

GML Codelists

The GML Codelists were created during 2014 using a draft version of the schema. The codespaces reflected that and referred to working schema: http://www.isotc211.org/namespace/mcc/1.0/2014-07-11. These were updated to the current namespace locations: http://standards.iso.org/iso/19115/-3/mcc/1.0.

Codelist Locations

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 http://schemas.opengis.net/gml/3.2.1/gml.xsd">
  <description>status of the resource</description>
  <identifier codeSpace="http://standards.iso.org/iso/19115/-3/mcc/1.0">MD_ProgressCode</identifier>
  <dictionaryEntry>
    <Definition gml:id="_12309_18728">
      <description>has been completed</description>
      <identifier codeSpace="http://standards.iso.org/iso/19115/-3/mcc/1.0">completed</identifier>
    </Definition>
  </dictionaryEntry>
  ...
</Dictionary>

Codelists generated as cat:CT_CodelistCatalogue are included in the file http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml and listed in the file http://standards.iso.org/iso/19115/resources/Codelists/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/-3/mcc/1.0">MD_ProgressCode</gco:ScopedName>
        </cat:identifier>
        <cat:name>
            <gco:ScopedName codeSpace="http://standards.iso.org/iso/19115/-3/mcc/1.0">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/-3/mcc/1.0">completed</gco:ScopedName>
                </cat:identifier>
                <cat:name>
                    <gco:ScopedName codeSpace="http://standards.iso.org/iso/19115/-3/mcc/1.0">completed</gco:ScopedName>
                </cat:name>
                <cat:definition>
                    <gco:CharacterString>has been completed</gco:CharacterString>
                </cat:definition>
                <cat:description>
                    <gco:CharacterString>has been completed</gco:CharacterString>
                </cat:description>
            </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

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