gml:Rectangle
gml:Rectangle represents a rectangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be five. The ring (element exterior) shall be a gml:LinearRing and shall form a rectangle; the first and the last position shall be coincident. interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.
Element information
Namespace: http://www.opengis.net/gml/3.2
Schema document: external/ogc/gml/3.2.1/geometryPrimitives.xsd
Type: gml:RectangleType
Properties: Global, Qualified
Content
- gml:exterior [1..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.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
interpolation | [0..1] | gml:SurfaceInterpolationType | Fixed value is "planar". |
Used in
- Type gml:SurfacePatchArrayPropertyType (Elements gml:polygonPatches, gml:trianglePatches, gml:patches)
Substitution hierarchy
- gml:AbstractSurfacePatch
- can be substituted with gml:Rectangle
Sample instance
<gml:Rectangle> <gml:exterior> <gml:LinearRing> <gml:pos>1.0 1.0</gml:pos> </gml:LinearRing> </gml:exterior> </gml:Rectangle>