- Galdos Systems Inc. - http://www.galdosinc.com -

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:

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

1
2
3
4
5
6
7
    <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>