August 03, 2005

GML Geometries

GML provides a range of geometry objects that can be used in the description of application objects (features).  In GML 1.0 and GML 2.0 this list was quite short. The key geometry objects were:

  • Point
  • LineString
  • Polygon

A Polygon (closed region of space) was encoded in GML 1.0 and 2.0 as follows:

<gml:Polygon>
         <gml:outerBoundaryIs>
                 <gml:LinearRing>
                         <gml:coordinates>0,0 100,0 100,100 0,100 0,0</gml:coordinates>
                 </gml:LinearRing>
        </gml:outerBoundaryIs>
</gml:Polygon>
Posted by RLake at 18:43:52 | Permanent Link | Comments (0) |
Comments
Write a comment