Geographic information — Geography Markup Language (GML) — Part 1: Fundamentals
Introduction: Geography Markup Language (GML) is an XML grammar written in XML Schema for the description of application schemas as well as the transport and storage of geographic information. The key concepts used by GML to model the world are drawn from the ISO 19100 series of International Standards and the OpenGIS Abstract Specification. A feature is an “abstraction of real world phenomena” (ISO 19101); it is a geographic feature if it is associated with a location relative to the Earth so a digital representation of the real world may be thought of as a set of features. The state of a feature is defined by a set of properties, where each property may be thought of as a {name, type, value} triple. The number of properties a feature may have, together with their names and types, is determined by its type definition. Geographic features with geometry are those with properties that may be geometry- valued. A feature collection is a collection of features that may itself be regarded as a feature; as a consequence a feature collection has a feature type and thus may have distinct properties of its own, in addition to the features it contains. Following ISO 19109, the feature types of an application or application domain is usually captured in an application schema. A GML application schema is specified in XML Schema and can be constructed in two different and alternative ways: — by adhering to the rules specified in ISO 19109 for application schemas in UML, and conforming to both the constr
Scope: The Geography Markup Language (GML) is an XML encoding in accordance with ISO 19118 for the transport and storage of geographic information modelled in accordance with the conceptual modelling framework used in the ISO 19100 series of International Standards and including both the spatial and non-spatial properties of geographic features. This document defines the XML Schema syntax, mechanisms and conventions that: — provide an open, vendor-neutral framework for the description of geospatial application schemas for the transport and storage of geographic information in XML; — allow profiles that support proper subsets of GML framework descriptive capabilities; — support the description of geospatial application schemas for specialized domains and information communities; — enable the creation and maintenance of linked geographic application schemas and datasets; — support the storage and transport of application schemas and datasets; — increase the ability of organizations to share geographic application schemas and the information they describe. Implementers can decide to store geographic application schemas and information in GML, or they can decide to convert from some other storage format on demand and use GML only for schema and data transport. NOTE If an ISO 19109 conformant application schema described in UML is used as the basis for the storage and transportation of geographic information, this document provides normative rules for the mapping of such an application schema to a GML application schema in XML Schema and, as such, to an XML encoding for data with a logical structure in accordance with the ISO 19109 conformant application schema.