Documentation for fieldgml

Complex Type: RectangleType

[Table of contents]

Super-types: AbstractSurfacePatchType < RectangleType (by extension)
Sub-types: None
Name RectangleType
Abstract no
Documentation Represents a rectangle as a surface 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 must be five.
XML Instance Representation
<...
interpolation="planar [0..1]

'The attribute \"interpolation\" specifies the interpolation mechanism used for this surface patch. Currently only planar surface patches are defined in GML 3, the attribute is fixed to \"planar\", i.e. the interpolation method shall return points on a single plane. The boundary of the patch shall be contained within that plane.'

"
>
<gml:exterior> ... </gml:exterior> [1]

'Constraint: The Ring shall be a LinearRing and must form a rectangle; the first and the last position must be co-incident.'

</...>
Diagram
Schema Component Representation
<complexType name="RectangleType">
<complexContent>
<extension base=" gml:AbstractSurfacePatchType ">
<sequence>
<element ref=" gml:exterior "/>
</sequence>
<attribute name="interpolation" type=" gml:SurfaceInterpolationType " fixed="planar"/>
</extension>
</complexContent>
</complexType>