Rules for elements and types in a profile
20.5 Rules for referencing GML profiles from application schemas
A GML application schema shall reference the full GML schema in the schemaLocation attribute of the import element. A GML application schema document conforming to one or more GML Profiles shall provide an appInfo annotation element gml:gmlProfileSchema for every profile in the root schema document schema element where the value is a schema location of the profile schema. Note that an application schema may conform to multiple profiles. EXAMPLE schema ... annotation appInfo gml:gmlProfileSchemahttp:schemas.opengis.netgml3.2.1profilesgmlSimpleFeatureProfile1.1.0gmls f.xsdgml:gmlProfileSchema gml:gmlProfileSchemahttp:schemas.opengis.netgml3.2.1profilesgmlPointProfile1.1.0gmlPointProfil e.xsdgml:gmlProfileSchema appInfo annotation ... schema The gml:gmlProfileSchema element is defined as element name=gmlProfileSchema type=anyURI20.6 Recommendations for application schemas using GML profiles
In order that the profile within an application schema may be later extended to include other profiled GML elements, the following recommendations are made: Global elements that are not in a GML profile but are in an application schema using a GML profile should not have the same name as any element in the GML schema. Global types that are not in a GML profile but are in an application schema using a GML profile should not have the same name as any type in the GML schema. If a type or element in an application schema is found to be of universal use, then the above conventions will aid the application schema from migrating that type or element from its own namespace to that of GML. The following recommendations are made simply as a bookkeeping convenience to those trying to understand the role of the profile in the application schema: Profiled elements and types should be included either in a single file for smaller profile or in a file structure that parallels that of GML. The exact naming convention of the parallelism is left to the application schema author. A reference to the appropriate GML schema document should be made in a comment near the beginning of the file. NOTE A method that has been found to be convenient is to package the required GML components into a ―stub‖ schema document called, e.g., ―gmlForApplicationDomain.xsd‖. This document may comprise a copy of the necessary components assembled in a fine-grained manner e.g. see Annex G, or may merely include a subset of the schema documents that Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 225 comprise the standard GML distribution. The schema document gml.xsd is an exhaustive superset following the latter approach.20.7 Summary of rules for GML profiles
In summary, the rules for a profile: A profile of GML is a logical restriction of a subset of GML. A profile shall not change the name, definition, or data type of mandatory GML elements or attributes. The relevant schema or schemas that define a profile shall use in the core ‗gml‘ namespace http:www.opengis.netgml3.2. An application schema may extend and use types from the profile, but shall do so in its own namespace, and not use http:www.opengis.netgml3.2. The functional test of these rules is: Any instance document for an application schema using a GML profile will be valid against the same application schema if the GML profile is replaced by the complete GML schema. Further, the interpretation of that document would be the same regardless of which of the two schemas were used. 21 Rules for GML application schemas21.1 Instances of GML objects
21.1.1 GML documents
An XML document contains a single XML element as its root. A GML document may be one of the following elements: A gml:AbstractFeature or any element directly or indirectly in its substitution group. NOTE 1 This includes feature collections and coverages as both are features, too. A gml:Dictionary or any element directly or indirectly in its substitution group. NOTE 2 This includes coordinate reference system and units dictionaries. A gml:TopoComplex or any element directly or indirectly in its substitution group. The standard methods for XML documents based on W3C XML Schema provide that the XML namespaces used in a document are declared as attributes within the document, and the location of schema documents that provide the source components for each namespace may be indicated. For a GML document, the source of the components describing the primary components within the document is a GML application schema. Both the document type and the associated GML application schema are described in this Clause.Parts
» 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