gml:Polygon
A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.
Element information
Namespace: http://www.opengis.net/gml/3.2
Schema document: external/ogc/gml/3.2.1/geometryBasic2d.xsd
Type: gml:PolygonType
Properties: Global, Qualified
Content
- Sequence [1..1]
- gml:metaDataProperty [0..*]
- gml:description [0..1]The value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property.
- gml:descriptionReference [0..1]The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description.
- gml:identifier [0..1]Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers.
- gml:name [0..*]The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace.
- gml:exterior [0..1]A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.
- gml:interior [0..*]A boundary of a surface consists of a number of rings. The "interior" rings separate the surface / surface patch from the area enclosed by the rings.
from type gml:AbstractGMLTypefrom group gml:StandardObjectProperties
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
gml:id | [1..1] | xsd:ID | The attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. | from type gml:AbstractGMLType |
srsName | [0..1] | xsd:anyURI | from group gml:SRSReferenceGroup | |
srsDimension | [0..1] | xsd:positiveInteger | from group gml:SRSReferenceGroup | |
axisLabels | [0..1] | gml:NCNameList | from group gml:SRSInformationGroup | |
uomLabels | [0..1] | gml:NCNameList | from group gml:SRSInformationGroup |
Used in
- Group gml:Value
- Type geo:GeometryType (Elements geo:AreaRegionGeometry, geo:Geometry, geo:LocationGeometry)
- Type geo:PolygonType (Elements ag:LocationPolygonCoordinates, cbrn:SpecialEventSecurityArea, m:LocationPolygon)
- Type gml:ArrayAssociationType (Element gml:members)
- Type gml:DomainSetType (Elements gml:domainSet, gml:multiPointDomain, gml:multiCurveDomain, gml:multiSurfaceDomain, gml:multiSolidDomain, gml:gridDomain, gml:rectifiedGridDomain)
- Type gml:GeometricPrimitivePropertyType (Element gml:element)
- Type gml:GeometryArrayPropertyType (Element gml:geometryMembers)
- Type gml:GeometryPropertyType (Elements gml:position, gml:geometryMember)
- Type gml:LocationPropertyType (Element gml:location)
- Type gml:PriorityLocationPropertyType via extension of gml:LocationPropertyType (Element gml:priorityLocation)
- Type gml:SurfaceArrayPropertyType (Elements gml:surfaceArrayProperty, gml:surfaceMembers)
- Type gml:SurfacePropertyType (Elements gml:extentOf, gml:surfaceProperty, gml:baseSurface, gml:surfaceMember)
- Type gml:TargetPropertyType (Elements gml:target, gml:subject)
- Type gml:ValueArrayPropertyType via reference to gml:Value (Element gml:valueComponents)
- Type gml:ValuePropertyType via reference to gml:Value (Elements gml:valueProperty, gml:valueComponent)
- Type gss:GM_Object_PropertyType (Element gmd:polygon)
- Type mo:WGS84ExternalPolygonType (Element mo:WGS84LocationExternalPolygon)
Substitution hierarchy
- gml:AbstractObject
- can be substituted with gml:AbstractGML
- can be substituted with gml:AbstractGeometry
- can be substituted with gml:AbstractGeometricPrimitive
- can be substituted with gml:AbstractSurface
- can be substituted with gml:Polygon
- can be substituted with gml:AbstractSurface
- can be substituted with gml:AbstractGeometricPrimitive
- can be substituted with gml:AbstractGeometry
- can be substituted with gml:AbstractGML
Sample instance
<gml:Polygon gml:id="ID"> <gml:metaDataProperty> <gml:GenericMetaData>Any text, intermingled with: <!--any element--> </gml:GenericMetaData> </gml:metaDataProperty> <gml:description>string</gml:description> <gml:descriptionReference/> <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier> <gml:name>string</gml:name> <gml:exterior> <gml:LinearRing> <gml:pos>1.0 1.0</gml:pos> </gml:LinearRing> </gml:exterior> <gml:interior> <gml:LinearRing> <gml:pos>1.0 1.0</gml:pos> </gml:LinearRing> </gml:interior> </gml:Polygon>