Skip to content

Evolving the GML Wrappers

Ted Habermann edited this page Dec 6, 2015 · 8 revisions

19139 Schema

gsr

The gsr schema is hosted at http://www.isotc211.org/2005/gsr. It imports gco and gml and defines one object:

  • SC_CRS_PropertyType

This is now defined in the gmw namespace (http://standards.iso.org/iso/19115/-3/gmw/1.0) in the file gmlWrapperTypes2014.xsd, so references to gar can be replaced with gmw. Done in extent.xsd Searching standards.iso.org for ISO_19139_Schemas/gsr yields no results.

##gss The gss schema is hosted at http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss. It imports gco and gml and defines two objects:

  • GM_Point_PropertyType and
  • GM_Object_PropertyType

These are now defined in the gmw namespace (http://standards.iso.org/iso/19115/-3/gmw/1.0) in the file gmlWrapperTypes2014.xsd, so references to gss can be replaced with gmw. Done in acquisitionInformationImagery.xsd, spatialRepresentation.xsd, and spatialRepresentationImagery.xsd Searching standards.iso.org for PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd yields no results.

gts

The gts schema is hosted at http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gts. It imports gco and gml and defines two objects:

  • TM_Primitive_PropertyType and
  • TM_PeriodDuration

These are now defined in the gmw namespace (http://standards.iso.org/iso/19115/-3/gmw/1.0) in the file gmlWrapperTypes2014.xsd, so references to gts can be replaced with gmw. Done in extent.xsd, maintenance.xsd, distribution.xsd, lineage.xsd and identification.xsd Searching standards.iso.org for ISO_19139_Schemas/gts yields no results.

##gco The gco schema is hosted at http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco It imports vml and xlink and defines many basic types. These are now defined in standards.iso.org/19139/gco/1.0/baseTypes2014.xsd so references to gco can be replaced with references to the new gco. This means that schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd" becomes ../../../../../standards.iso.org/19139/gco/1.0/2014-12-25/gco.xsd in namespace directories with parts and ../../../../standards.iso.org/19139/gco/1.0/2014-12-25/gco.xsd in namespace directories without parts.

##baseTypes2014.xsd These changes are described in baseTypes2014.xsd: Geographic COmmon (GCO) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19115-3, based on the implementation patterns defined and utilized in ISO19139. This gcoBase.xsd schema provides:

  1. Tools to handle specific objects like "code lists" and "record";
  2. Some XML types that do not follow the general encoding rules specified in ISO19139.

*** SMR 2014-12-22. Refactor gco, gts, gsr, gss to separate gml dependencies.
To remove the dependency between gml and the base datatypes in ISO19115-3:

  1. The nilReason attribute is defined here instead of extending the gml type.
  2. The definition of MeasureType is copied here from gml 3.2 basic Types. The only difference this will introduce in instance documents is that the uom attribute on a measure value (or one of its substitutions) will be gco:uom, not gml:uom.