Import GML schema GML application schemas
21.2.4 Object type derivation
An object type declared by a GML application schema shall not violate any XML Schema derivation restrictions imposed by a final attribute on its base GML type nor any other XML Schema rules. The content model of an object type defined by a GML application schema shall derive directly from the most specialized GML object type that may serve as the base for its content model while preserving semantic consistency and increasing type specialization.21.2.5 Elements representing objects
A GML application schema shall declare a global element for any object type that is to serve as the root element in a GML document.21.2.6 Property type derivation
A property type defined by a GML application schema to contain inline or reference a single GML object may be derived from gml:AssociationRoleType or may follow the pattern of this type. A property type defined by a GML application schema to contain inline a single GML object may be derived from gml:InlinePropertyType or may follow the pattern of this type. A property type defined by a GML application schema to reference a single GML object may be derived from gml:ReferenceType or may follow the pattern of this type. A property type defined by an application schema to contain a homogeneous collection of GML objects shall follow the pattern of gml:InlinePropertyType, but may change the minOccurs and maxOccurs values in the sequence element. NOTE As derivation-by-restriction of property types has created problems with commonly used XML parsers in the past, all instances of such derivations have been removed from the GML schema. It is recommended to avoid derivation-by- restriction in property types in application schemas, too.21.2.7 Elements representing properties
Elements representing properties of GML objects may be declared as global elements in an application schema, or they may be declared locally within object content models type definitions. NOTE Elements in the content of complex types that are defined with local names in an application schema will prevent derivation by restriction in another namespace . Such complex types are appropriate for elements intended for use ―as is‖ in their own namespace, and may be declared to be final=restriction. Elements in the content of complex types defined by reference to global elements support derivation by restriction in another namespace, allowing restriction of cardinality, Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 229 andor replacement by a member of a substitution group. Such complex types designed for derivation by restriction are appropriate ―library types‖ for elements in substitution groups that cross namespaces. If the value of the property is expected to be available elsewhere, the type of the property element shall support referencing the GML object that is the value of the property see 21.2.6. If the value of the property is expected to be represented inline, the type of the property element shall support this, either by having XML Schema simple content of the appropriate simple type or by containing the GML object that is the value of the property inline see 21.2.6. If the value of the property is expected to be available either elsewhere, or represented inline, then the type of the property element shall support both methods. In this case the type for the property element shall have the gml:AssociationAttributeGroup, in which all members are optional, and the child element shall have minOccurs=0 so that in an instance document the property element may be empty if it carries an xlink see 7.2.3. If it is desired to prohibit the possibility of both xlink attributes and content, or neither, then this constraint should be recorded as a normative directive in an annotation element on the element declaration in the GML application schema. The directive may be expressed as prose, or it may be expressed using a formal notation such as Schematron.21.3 Schemas defining Features and Feature Collections
21.3.1 Introduction
Features and feature collections are the primary view of geospatial information supported by GML, and are particularly useful in modelling real world geography or in defining message types for geographic web services. A feature models a real world object or concept, see Clause 9. Feature application schemas define geographic features and feature collections for a specific application domain or community. These GML application schemas shall obey the additional rules described in the following subclauses.21.3.2 Import GML schema components
The application schema shall import the GML schema as described in 21.2.3. Any GML profile referenced from the application schema shall include at least the gml:AbstractFeature element and all schema components used by this element.21.3.3 Elements representing features
All geographic features and feature collections in the application schema shall be declared as global elements in the schema, i.e. they shall be immediate child elements of the XML Schema schema element. The name of an element that instantiates a GML feature shall be its feature type, in the sense described in ISO 19109. An element representing a feature shall be either directly or indirectly in the substitution group of gml:AbstractFeature. An element representing a feature collection type shall be either directly or indirectly in the substitution group of gml:AbstractFeature and have in its content model a property element whose content model is derived by extension from gml:AbstractFeatureMemberType. In a GML application schema, an object that is an abstraction of a real world phenomenon shall be modelled as a feature. All other objects shall be modelled as a GML object that is not a feature, i.e. the element representing theParts
» Conformance requirements Change Requests | OGC
» Conformance classes related to GML application schemas Conformance classes related to GML profiles
» application schema Terms and definitions
» composite solid Terms and definitions
» curve data type Terms and definitions
» face feature Terms and definitions
» GML application schema Terms and definitions
» rectified grid schema Terms and definitions
» tag XML Terms and definitions
» Symbols and abbreviated terms
» XML namespaces Versioning Change Requests | OGC
» Deprecated parts of previous versions of GML
» UML notation Change Requests | OGC
» GML application schemas Change Requests | OGC
» Organization of this International Standard
» Deprecated and experimental schema components
» GML instance documents GML model and syntax
» Lexical conventions GML model and syntax
» XML Schema definition of GML language
» Goals of base schema components
» AbstractGML, AbstractGMLType Base objects .1
» abstractAssociationRole, AssociationRoleType GML properties .1
» Ownership of property values
» abstractReference, ReferenceType GML properties .1
» abstractInlineProperty, InlinePropertyType GML properties .1
» Properties representing the same relationship
» description Standard properties of GML objects .1
» descriptionReference Standard properties of GML objects .1
» name, identifier Standard properties of GML objects .1
» id Standard properties of GML objects .1
» GML object collections, AggregationAttributeGroup
» Metadata gmlBase schema components
» Xlinks — Object associations and remote properties
» Elements declared to be “nillable”
» CodeType, CodeWithAuthorityType Simple types .1
» MeasureType, UomIdentifier Simple types .1
» General concepts Change Requests | OGC
» Relationship with ISO 19109 Change Requests | OGC
» boundedBy, BoundingShapeType, EnvelopeWithTimePeriod, EnvelopeWithTimePeriodType
» locationName, locationReference FeaturePropertyType, FeatureArrayPropertyType
» Geometry properties Change Requests | OGC
» Topology properties Temporal properties
» GML feature collections Feature collections
» AbstractFeatureMemberType and derived property types
» Relationship with ISO 19107 General concepts
» SRSReferenceGroup Abstract geometry .1 AbstractGeometryType
» SRSInformationGroup Abstract geometry .1 AbstractGeometryType
» AbstractGeometry Abstract geometry .1 AbstractGeometryType
» GeometryPropertyType GeometryArrayPropertyType Abstract geometry .1 AbstractGeometryType
» geometricPositionGroup Coordinate geometry, vectors and envelopes .1 DirectPositionType, pos
» geometricPositionListGroup Coordinate geometry, vectors and envelopes .1 DirectPositionType, pos
» VectorType, Vector Coordinate geometry, vectors and envelopes .1 DirectPositionType, pos
» EnvelopeType, Envelope Coordinate geometry, vectors and envelopes .1 DirectPositionType, pos
» AbstractGeometricPrimitiveType, AbstractGeometricPrimitive Abstract geometric primitives
» GeometricPrimitivePropertyType Abstract geometric primitives
» PointType, Point Geometric primitives 0-dimensional
» PointPropertyType, pointProperty Geometric primitives 0-dimensional
» PointArrayPropertyType, pointArrayProperty Geometric primitives 0-dimensional
» AbstractCurveType, AbstractCurve Geometric primitives 1-dimensional
» LineStringType, LineString Geometric primitives 1-dimensional
» CurveType, Curve Geometric primitives 1-dimensional
» OrientableCurveType, OrientableCurve, baseCurve Geometric primitives 1-dimensional
» ArcStringType, ArcString ArcType, Arc
» CircleType, Circle ArcStringByBulgeType, ArcStringByBulge
» ArcByBulgeType, ArcByBulge ArcByCenterPointType, ArcByCenterPoint
» CubicSplineType, CubicSpline Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» BSplineType, BSpline Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» KnotType, KnotPropertyType Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» KnotTypesType Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» BezierType, Bezier Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» ClothoidType, Clothoid Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» GeodesicType, Geodesic Curve segments .1 AbstractCurveSegmentType, AbstractCurveSegment
» SurfaceArrayPropertyType, surfaceArrayProperty Geometric primitives 2-dimensional
» AbstractRingType, AbstractRing AbstractRingPropertyType Geometric primitives 2-dimensional
» LinearRingType, LinearRing Geometric primitives 2-dimensional
» LinearRingPropertyType SurfaceType, Surface Geometric primitives 2-dimensional
» Ring, RingType, curveMember OrientableSurfaceType, OrientableSurface, baseSurface
» TriangulatedSurface TinType, Tin OrientableSurfaceType, OrientableSurface, baseSurface
» LineStringSegmentArrayPropertyType OrientableSurfaceType, OrientableSurface, baseSurface
» TriangleType, Triangle RectangleType, Rectangle
» ConeType, Cone Surface patches .1 AbstractSurfacePatchType, gml : AbstractSurfacePatch
» CylinderType, gmlCylinder Surface patches .1 AbstractSurfacePatchType, gml : AbstractSurfacePatch
» SphereType, Sphere Surface patches .1 AbstractSurfacePatchType, gml : AbstractSurfacePatch
» AbstractSolidType, AbstractSolid Geometric primitives 3-dimensional
» SolidPropertyType, solidProperty Geometric primitives 3-dimensional
» SolidArrayPropertyType, solidArrayProperty Geometric primitives 3-dimensional
» SolidType, Solid Geometric primitives 3-dimensional
» ShellType, Shell ShellPropertyType Geometric primitives 3-dimensional
» GeometricComplexPropertyType Geometric complex .1 GeometricComplexType, GeometricComplex
» Relationship with ISO 19111 Important XML elements
» domainOfValidity Abstract coordinate reference system .1 AbstractCRS
» scope CRSPropertyType Abstract coordinate reference system .1 AbstractCRS
» Overview Coordinate reference systems
» Conversion Abstract coordinate reference systems .1 AbstractSingleCRS
» EllipsoidalCS cartesianCS Concrete coordinate reference systems .1 CompoundCRS
» sphericalCS Concrete coordinate reference systems .1 CompoundCRS
» geodeticDatum Concrete coordinate reference systems .1 CompoundCRS
» GeodeticCRSPropertyType VerticalCRS Concrete coordinate reference systems .1 CompoundCRS
» VerticalCRSPropertyType ProjectedCRS Concrete coordinate reference systems .1 CompoundCRS
» baseCRS derivedCRSType Concrete coordinate reference systems .1 CompoundCRS
» EngineeringCRS cylindricalCS Concrete coordinate reference systems .1 CompoundCRS
» EngineeringCRSPropertyType ImageCRS Concrete coordinate reference systems .1 CompoundCRS
» ImageCRSPropertyType TemporalCRS timeCS Concrete coordinate reference systems .1 CompoundCRS
» temporalDatum Concrete coordinate reference systems .1 CompoundCRS
» TemporalCRSPropertyType Concrete coordinate reference systems .1 CompoundCRS
» axisAbbrev Coordinate system axes .1 CoordinateSystemAxis
» axisDirection Coordinate system axes .1 CoordinateSystemAxis
» minimumValue, maximumValue, rangeMeaning Coordinate system axes .1 CoordinateSystemAxis
» uom Coordinate system axes .1 CoordinateSystemAxis
» CoordinateSystemAxisPropertyType Coordinate system axes .1 CoordinateSystemAxis
» axis Abstract coordinate system .1 AbstractCoordinateSystem
» EllipsoidalCSPropertyType CartesianCS Concrete coordinate systems .1 EllipsoidalCS
» CartesianCSPropertyType Concrete coordinate systems .1 EllipsoidalCS
» VerticalCS Concrete coordinate systems .1 EllipsoidalCS
» VerticalCSPropertyType TimeCS TimeCSPropertyType Concrete coordinate systems .1 EllipsoidalCS
» UserDefinedCS Concrete coordinate systems .1 EllipsoidalCS
» UserDefinedCSPropertyType Concrete coordinate systems .1 EllipsoidalCS
» SphericalCS Concrete coordinate systems .1 EllipsoidalCS
» SphericalCSPropertyType PolarCS Concrete coordinate systems .1 EllipsoidalCS
» CylindricalCSPropertyType AffineCS Concrete coordinate systems .1 EllipsoidalCS
» AffineCSPropertyType Concrete coordinate systems .1 EllipsoidalCS
» primeMeridian ellipsoid Geodetic datum .1 GeodeticDatum
» GeodeticDatumPropertyType Geodetic datum .1 GeodeticDatum
» Ellipsoid, semiMajorAxis, secondDefiningParameter Geodetic datum .1 GeodeticDatum
» EllipsoidPropertyType Geodetic datum .1 GeodeticDatum
» PrimeMeridian, greenwichLongitude Geodetic datum .1 GeodeticDatum
» EngineeringDatumPropertyType ImageDatum Other concrete datums .1 EngineeringDatum
» VerticalDatum VerticalDatumPropertyType Other concrete datums .1 EngineeringDatum
» TemporalDatum, origin Other concrete datums .1 EngineeringDatum
» TemporalDatumPropertyType Other concrete datums .1 EngineeringDatum
» operationVersion coordinateOperationAccuracy sourceCRS targetCRS CoordinateOperationPropertyType
» AbstractSingleOperation Abstract coordinate operations .1 AbstractCoordinateOperation
» CoordOperation Concrete coordinate operations .1 ConcatenatedOperation
» Conversion method parameterValue Concrete coordinate operations .1 ConcatenatedOperation
» ConversionPropertyType Transformation Concrete coordinate operations .1 ConcatenatedOperation
» ParameterValue value Parameter values and groups .1 AbstractGeneralParameterValue
» stringValue integerValue Parameter values and groups .1 AbstractGeneralParameterValue
» booleanValue Parameter values and groups .1 AbstractGeneralParameterValue
» valueList Parameter values and groups .1 AbstractGeneralParameterValue
» integerValueList Parameter values and groups .1 AbstractGeneralParameterValue
» valueFile Parameter values and groups .1 AbstractGeneralParameterValue
» operationParameter Parameter values and groups .1 AbstractGeneralParameterValue
» ParameterValueGroup Parameter values and groups .1 AbstractGeneralParameterValue
» formula, formulaCitation Operation method .1 OperationMethod
» sourceDimensions Operation method .1 OperationMethod
» targetDimensions parameter Operation method .1 OperationMethod
» OperationMethodPropertyType Operation method .1 OperationMethod
» minimumOccurs Operation parameters and groups .1 GeneralOperationParameter
» maximumOccurs Operation parameters and groups .1 GeneralOperationParameter
» OperationParameterPropertyType Operation parameters and groups .1 GeneralOperationParameter
» Abstract topological primitives .1 AbstractTopoPrimitive, AbstractTopoPrimtive
» DirectedNodePropertyType, directedNode Topological primitives 0-dimensional .1 NodeType, Node
» DirectedEdgePropertyType, directedEdge Topological primitives 1-dimensional .1 EdgeType, Edge
» DirectedFacePropertyType, directedFace Topological primitives 2-dimensional .1 FaceType, Face
» TopoComplexType, TopoComplex Maximal, sub- and super-complexes
» TopoComplexPropertyType, topoComplexProperty Topology complex
» Relationship with ISO 19108 General concepts
» AbstractTimePrimitive Abstract temporal objects .1 AbstractTimeObject
» TimePrimitivePropertyType, validTime Abstract temporal objects .1 AbstractTimeObject
» RelatedTimeType AbstractTimeComplex Abstract temporal objects .1 AbstractTimeObject
» AbstractTimeGeometricPrimitive TimeInstant Temporal geometry .1 Introduction
» TimeInstantPropertyType TimePeriod Temporal geometry .1 Introduction
» TimePeriodPropertyType Temporal geometry .1 Introduction
» TimePositionType, timePosition Temporal geometry .1 Introduction
» timeLength, duration, timeInterval, TimeUnitType
» Introduction Temporal topology schema
» AbstractTimeTopologyPrimitive Temporal topology objects .1 Overview
» TimeTopologyPrimitivePropertyType TimeTopologyComplex Temporal topology objects .1 Overview
» TimeEdge Temporal topology objects .1 Overview
» TimeEdgePropertyType Temporal topology objects .1 Overview
» Overview Temporal reference systems
» Basic temporal reference system, TimeReferenceSystem TimeCoordinateSystem
» TimeCalendar, TimeCalendarEra Calendars and clocks .1 Overview
» TimeCalendarPropertyType, TimeCalendarEraPropertyType TimeClock Calendars and clocks .1 Overview
» TimeClockPropertyType Calendars and clocks .1 Overview
» TimeOrdinalReferenceSystem, TimeOrdinalEra Ordinal temporal reference systems .1 Overview
» TimeOrdinalEraPropertyType Ordinal temporal reference systems .1 Overview
» Overview dataSource Representing dynamic features
» Dynamic properties DynamicFeature DynamicFeatureCollection
» AbstractTimeSlice Representing dynamic features
» history Representing dynamic features
» Overview Abstract topology Overview
» Definition, DefinitionType, remarks Dictionary schema
» Dictionary, DictionaryType Dictionary schema
» dictionaryEntry, DictionaryEntryType Using definitions and dictionaries
» Introduction Change Requests | OGC
» Using unit definitions Units schema
» unitOfMeasure, UnitOfMeasureType Units schema
» UnitDefinition, UnitDefinitionType Units schema
» quantityType, quantityTypeReference Units schema
» BaseUnit, BaseUnitType, unitsSystem Units schema
» DerivedUnit, DerivedUnitType Units schema
» derivationUnitTerms, DerivationUnitTermType Units schema
» ConventionalUnit, ConventionalUnitType Units schema
» Example of units dictionary informative
» Scalar measure types Measures schema
» Introduction Value objects schema
» Value element hierarchy Value objects schema
» Boolean, BooleanList Value objects schema
» Category, CategoryList Value objects schema
» Count, CountList Value objects schema
» Quantity, QuantityList Value objects schema
» AbstractValue, AbstractScalarValue, AbstractScalarValueList Value
» valueProperty, valueComponent, valueComponents Value objects schema
» CompositeValue Value objects schema
» ValueArray Value objects schema
» Typed ValueExtents: CategoryExtent, CountExtent, QuantityExtent
» Direction schema direction, DirectionPropertyType
» DirectionVectorType DirectionDescriptionType Change Requests | OGC
» Overview Observation Observation schema
» using target Observation schema
» resultOf DirectedObservation Observation schema
» General remarks The coverage model and representations
» Formal description of a coverage
» Coverage in GML The coverage model and representations
» Relationship with ISO 19123 The coverage model and representations
» AbstractCoverageType, AbstractCoverage Coverage schema
» DiscreteCoverageType, AbstractDiscreteCoverage Coverage schema
» AbstractContinuousCoverageType, AbstractContinuousCoverage Coverage schema
» domainSet, DomainSetType Coverage schema
» rangeSet, RangeSetType DataBlock Coverage schema
» tupleList doubleOrNilReasonTupleList Coverage schema
» File, FileType Coverage schema
» coverageFunction, CoverageFunctionType Coverage schema
» CoverageMappingRule GridFunction, GridFunctionType Coverage schema
» sequenceRule, SequenceRuleType, SequenceRuleEnumeration Coverage schema
» MultiCurveCoverage MultiSurfaceCoverage Coverage schema
» MultiSolidCoverage GridCoverage Coverage schema
» Observations Profiles of GML and application schemas
» Definition of profile Change Requests | OGC
» Relation to application schema
» Rules for elements and types in a profile
» Rules for referencing GML profiles from application schemas
» Recommendations for application schemas using GML profiles
» Summary of rules for GML profiles
» GML documents Instances of GML objects
» Introduction GML application schemas
» Target namespace GML application schemas
» Import GML schema GML application schemas
» Object type derivation GML application schemas
» Elements representing objects GML application schemas
» Property type derivation GML application schemas
» Elements representing properties GML application schemas
» Introduction Import GML schema components
» Elements representing features Schemas defining Features and Feature Collections
» Application features are features
» User-defined geometry property types
» User-defined topology property types
» User-defined temporal property types
» Introduction Schemas defining coordinate reference systems
» Import GML coordinate reference system schema components
» Introduction Schemas defining coverages
» Import GML coverage schema components
» User-defined coverage types Schemas defining coverages
» Range parameters shall be substitutable for AbstractValue
» Coverage document Schemas defining coverages
» Introduction Import GML observation schema components
» User-defined observation types Schemas defining observations
» Observation collections Schemas defining observations
» Observations are features Schemas defining observations
» Observation collection document Schemas defining observations
» Introduction Import GML dictionary schema components
» User-defined definition types Schemas defining dictionaries and definitions
» User-defined dictionary types Schemas defining dictionaries and definitions
» Introduction Schemas defining values
» Import GML value objects schema components
» Construction of new value types
» GML profiles of the GML schema
» Overview Change Requests | OGC
» remoteSchema member Base schema components
» ArrayAssociationType Base schema components
» members Base schema components
» featureProperty, featureMember, featureMembers Base schema components
» StringOrRefType Base schema components
» Array, ArrayType, Bag, BagType
» Basic types, Null Change Requests | OGC
» location, LocationPropertyType, LocationKeyWord, LocationString
» coordinates Coordinate geometry, geometric primitives
» pos in EnvelopeType Coordinate geometry, geometric primitives
» pointRep Coordinate geometry, geometric primitives
» polygonPatches Coordinate geometry, geometric primitives
» trianglePatches Coordinate geometry, geometric primitives
» baseGeographicCRS GeographicCRS Coordinate reference systems
» GeocentricCRS uom Coordinate reference systems
» ObliqueCartesianCS Coordinate reference systems
» TemporalCS Coordinate reference systems
» greenwichLongitude Coordinate reference systems
» AbstractOperation Coordinate reference systems
» dmsAngleValue Coordinate reference systems
» Renamed property elements Coordinate reference systems
» SuccessionType MovingObjectStatus Temporal information and dynamic features
» track Temporal information and dynamic features
» DefinitionCollection Definitions and dictionaries
» definitionMember Definitions and dictionaries
Show more