Schema Central > niem40 > geometryBasic2d.xsd > gml:Polygon
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

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

Type: gml:PolygonType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
gml:id [1..1]xsd:IDThe 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:anyURIfrom group gml:SRSReferenceGroup
srsDimension [0..1]xsd:positiveIntegerfrom group gml:SRSReferenceGroup
axisLabels [0..1]gml:NCNameListfrom group gml:SRSInformationGroup
uomLabels [0..1]gml:NCNameListfrom group gml:SRSInformationGroup

Used in

Substitution hierarchy

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>