Print This Post

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:

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>

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>