complexType PolygonType
diagram SgIrmXml_p173.png
namespace http://www.opengis.net/gml/3.2
children gml:exterior
used by
element Polygon
attributes
Name  Type  Use  Default  Fixed  annotation
srsNamexsd:anyURIrequired      
appinfo
<mdr:definition>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.</mdr:definition>
srsDimensionxsd:positiveIntegeroptional      
appinfo
<mdr:definition>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. </mdr:definition>
axisLabelsgml:NCNameListoptional      
appinfo
<mdr:definition>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. </mdr:definition>
uomLabelsgml:NCNameListoptional      
appinfo
<mdr:definition>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. </mdr:definition>
idrequired      
appinfo
<mdr:definition>A 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.  </mdr:definition>
annotation
appinfo
<mdr:definition>A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.</mdr:definition>
<mdr:comment>
Developer's Note: It is required that the srsName attribute be populated on a gml:Point or gml:Polygon element within the DDMS.  Recommended values for the attribute are:
<!-- These Coordinate Reference System references are registered in the GSIP Governance Namespace on the DoD Metadata Registry. -->
1) "http://metadata.dod.mil/mdr/ns/GSIP/crs/WGS84C_3D" -- representing World Geodetic System 1984 - Earth Centered, Earth Fixed (ECEF), where the X axis is mass center - equator/prime meridian, and the units are meters; the Y axis is mass center - equator/90° E, and the units are meters; and the Z axis is mass center - North Pole, and the units are meters. 
OR
2) "http://metadata.dod.mil/mdr/ns/GSIP/crs/WGS84E_2D" -- representing World Geodetic System 1984 - Geographic, 2-Dimensional, where latitude is north positive, measured in degrees; and latitude is east positive, measured in degrees.
OR
3) "http://metadata.dod.mil/mdr/ns/GSIP/crs/WGS84E_3D" -- representing World Geodetic System 1984 - Geographic, 3-Dimensional, where latitude is north positive, measured in degrees; and latitude is east positive, measured in degrees; and height is height above ellipsoid, measured in meters.
See also: http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350_2.html.

For gml:pos elements populating the gml:Polygon/gml:exterior/gml:LinearRing/gml:pos element the following guidance should be followed:
1. Latitude shall be in decimal degrees in the range -90° less than or equal to latitude greater than or equal to +90°.
2. North latitudes shall be positive, south latitudes shall be negative.
3. Longitude shall be in decimal degrees in the range -180° less than or equal to longitude greater than or equal to +180°; note that there are two equally acceptable values of longitude for the meridian opposite the prime meridian.
4. East longitudes shall be positive, west longitudes shall be negative.
5. Only the element gml:pos shall be used to encode a geographic point location as either:
a. two decimal values in the order of latitude then longitude (no commas) when WGS84E_2D, or
b. three decimal values in the order latitude, longitude and finally height above ellipsoid (no commas) when using the WGS84E_3D CRS.


Developer's Note:  The srsName attribute is required on the Polygon element.  The Polygon/@srsName is the identifier for the CRS which is controlling for the child gml:pos elements.  It is important to note that the srsName attribute may also appear on the gml:pos elements, however given the current allowable CRSs above there is no need to repeat the information on the gml:pos elements thus the srsName attribute is optional and not required.  If the srsName does appear on the gml:pos elements then it must be the same as the value of the srsName attribute on the Polygon element.
</mdr:comment>
source <xsd:complexType name="PolygonType">
 
<xsd:annotation>
   
<xsd:appinfo>
     
<mdr:definition>A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.</mdr:definition>
     
<mdr:comment>
Developer's Note: It is required that the srsName attribute be populated on a gml:Point or gml:Polygon element within the DDMS.  Recommended values for the attribute are:
<!-- These Coordinate Reference System references are registered in the GSIP Governance Namespace on the DoD Metadata Registry. -->
1) "http://metadata.dod.mil/mdr/ns/GSIP/crs/WGS84C_3D" -- representing World Geodetic System 1984 - Earth Centered, Earth Fixed (ECEF), where the X axis is mass center - equator/prime meridian, and the units are meters; the Y axis is mass center - equator/90° E, and the units are meters; and the Z axis is mass center - North Pole, and the units are meters. 
OR
2) "http://metadata.dod.mil/mdr/ns/GSIP/crs/WGS84E_2D" -- representing World Geodetic System 1984 - Geographic, 2-Dimensional, where latitude is north positive, measured in degrees; and latitude is east positive, measured in degrees.
OR
3) "http://metadata.dod.mil/mdr/ns/GSIP/crs/WGS84E_3D" -- representing World Geodetic System 1984 - Geographic, 3-Dimensional, where latitude is north positive, measured in degrees; and latitude is east positive, measured in degrees; and height is height above ellipsoid, measured in meters.
See also: http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350_2.html.

For gml:pos elements populating the gml:Polygon/gml:exterior/gml:LinearRing/gml:pos element the following guidance should be followed:
1. Latitude shall be in decimal degrees in the range -90° less than or equal to latitude greater than or equal to +90°.
2. North latitudes shall be positive, south latitudes shall be negative.
3. Longitude shall be in decimal degrees in the range -180° less than or equal to longitude greater than or equal to +180°; note that there are two equally acceptable values of longitude for the meridian opposite the prime meridian.
4. East longitudes shall be positive, west longitudes shall be negative.
5. Only the element gml:pos shall be used to encode a geographic point location as either:
a. two decimal values in the order of latitude then longitude (no commas) when WGS84E_2D, or
b. three decimal values in the order latitude, longitude and finally height above ellipsoid (no commas) when using the WGS84E_3D CRS.


Developer's Note:  The srsName attribute is required on the Polygon element.  The Polygon/@srsName is the identifier for the CRS which is controlling for the child gml:pos elements.  It is important to note that the srsName attribute may also appear on the gml:pos elements, however given the current allowable CRSs above there is no need to repeat the information on the gml:pos elements thus the srsName attribute is optional and not required.  If the srsName does appear on the gml:pos elements then it must be the same as the value of the srsName attribute on the Polygon element.
</mdr:comment>
   
</xsd:appinfo>
 
</xsd:annotation>
 
<xsd:all>
   
<xsd:element ref="gml:exterior"/>
 
</xsd:all>
 
<xsd:attributeGroup ref="gml:SRSReferenceGroupSRSNameRequired"/>
 
<xsd:attribute ref="gml:id" use="required"/>
</xsd:complexType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy