OpenGIS Implementation Specification, 20 February 2001
OGC Document Number: 01-029
Copyright 2001 OGC, All Rights Reserved.
The Geography Markup Language (GML) is an XML encoding for the transport and storage of geographic information, including both the spatial and non-spatial properties of geographic features. This specification defines the XML Schema syntax, mechanisms, and conventions that
Implementers may decide to store geographic application schemas and information in GML, or they may decide to convert from some other storage format on demand and use GML only for schema and data transport.
This document is an OpenGIS Implementation Specification.
XML instances which are compliant to this specification shall validate against a conforming application schema. A conforming application schema shall import the Geometry Schema (geometry.xsd), the Feature Schema (feature.xsd), and the XLinks schema (xlinks.xsd) as base schemas; furthermore, it shall be developed using the rules for the development of application schemas specified in section 5 of this document.
Sections 1 and 2 of this document present the background information and modeling concepts that are needed to understand GML. Section 3 presents the GML conceptual model which is independent of encoding. Section 4 presents material which discusses the encoding of the GML conceptual model using the XML Schema definition language (XSDL). This material is intended to demonstrate how to employ the normative GML geometry and feature schemas specified in Appendices A and B of this document. Section 5 of this document presents the rules for the development of conformant GML application schemas. Section 6 presents examples to illustrate techniques for constructing compliant GML application to model recurring geographic themes; these techniques are not normative but they do represent the collective experience of the editors of this document and are strongly recommended. Conforming profiles of this document shall be developed according to the rules specified in section 7. Appendix A presents the Geometry schema, Appendix B presents the Feature schema, and Appendix C presents the XLinks schema.
The OpenGIS Consortium (OGC) invites comments on this Implementation Specification ” please submit them to firstname.lastname@example.org.
Table of Contents
1 Representing geographic features
2 Overview of GML
3 Conceptual framework
4 Encoding GML
5 GML application schemas
6 Worked examples of application schemas (non-normative)
7 Profiles of GML
Appendix A: The Geometry schema, v2.06 (normative)
Appendix B: The Feature schema, v2.06 (normative)
Appendix C: The XLinks schema, v2.01 (normative)
Appendix D: References
Appendix E: Revision history