gml:Polygon
Element information
Namespace: http://www.opengis.net/gml
Schema document: external/have/1.0/gml-oasis.xsd
Type: gml:PolygonType
Properties: Global, Qualified
Content
- Sequence [1..1]
- 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 seperate the surface / surface patch from the area enclosed by the rings.
from type gml:AbstractGMLType
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
gml:id | [0..1] | xsd:ID | Database handle for the object. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. An external identifier for the object in the form of a URI may be constructed using standard XML and XPointer methods. This is done by concatenating the URI for the document, a fragment separator, and the value of the id attribute. | from type gml:AbstractGMLType |
srsName | [0..1] | xsd:anyURI | In general this reference points to a CRS instance of gml:CoordinateReferenceSystemType (see coordinateReferenceSystems.xsd). For well known references it is not required that the CRS description exists at the location the URI points to. If no srsName attribute is given, the CRS must be specified as part of the larger context this geometry element is part of, e.g. a geometric element like point, curve, etc. It is expected that this attribute will be specified at the direct position level only in rare cases. | from group gml:SRSReferenceGroup |
srsDimension | [0..1] | xsd:positiveInteger | The "srsDimension" is the length of coordinate sequence (the number of entries in the list). This dimension is specified by the coordinate reference system. When the srsName attribute is omitted, this attribute shall be omitted. | from group gml:SRSReferenceGroup |
axisLabels | [0..1] | gml:NCNameList | Ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis labels, after spaces and forbiddden characters are removed. When the srsName attribute is included, this attribute is optional. When the srsName attribute is omitted, this attribute shall also be omitted. | from group gml:SRSInformationGroup |
uomLabels | [0..1] | gml:NCNameList | Ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the gml:catalogSymbol should be used for this uom labels, after spaces and forbiddden characters are removed. When the axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute shall also be omitted. | from group gml:SRSInformationGroup |
Used in
- Type have:OrganizationGeoLocation via extension of oasis:WhereType (Element have:OrganizationGeoLocation)
- Type oasis:PolygonPropertyType (Element oasis:polygon)
- Type oasis:WhereType (Element oasis:where)
Substitution hierarchy
- gml:_Object
- can be substituted with gml:_GML
- can be substituted with gml:_Geometry
- can be substituted with gml:_GeometricPrimitive
- can be substituted with gml:_Surface
- can be substituted with gml:Polygon
- can be substituted with gml:_Surface
- can be substituted with gml:_GeometricPrimitive
- can be substituted with gml:_Geometry
- can be substituted with gml:_GML
Sample instance
<gml:Polygon> <gml:exterior> <gml:LinearRing> <gml:posList>1.0 1.0</gml:posList> </gml:LinearRing> </gml:exterior> <gml:interior> <gml:LinearRing> <gml:posList>1.0 1.0</gml:posList> </gml:LinearRing> </gml:interior> </gml:Polygon>