Schema Central > niem40 > geometryPrimitives.xsd > gml:Rectangle
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

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

Type: gml:RectangleType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
interpolation [0..1]gml:SurfaceInterpolationTypeFixed value is "planar".

Used in

Substitution hierarchy

Sample instance

<gml:Rectangle>
   <gml:exterior>
      <gml:LinearRing>
         <gml:pos>1.0 1.0</gml:pos>
      </gml:LinearRing>
   </gml:exterior>
</gml:Rectangle>