Simple GML Geometries
In the Simple Geometry profile of GML there are only three kinds of geometry objects, namely:
- Point
- LineString
- Polygon
Point
This one is pretty self explanatory. A point has "coordinates" that determine its location relative to some coordinate system (e.g. (latitude, longitude).
LineString:
Think of a LineString as a curve, line or edge. If you look really close you see that it is made up of a bunch of line segments strung together - so is a string of lines or LineString. See the image.

Polygon:
A polygon is just a bit more complex. A Polygon is a region or area.
Think of the state of California (all of it) as having a Polygon extent. The boundary of the State of California is the black line around the outside.
SO Polygons have a boundary as shown in the figure.
Now Simple Geometry ONLY allows the boundary of the Polygon to made of a single piece called a LinearRing. This is a LineString that is closed on itself like the ring on your finger.
In full GML, the boundary of a polygon may be composed of separate LineStrings much as the boundary of the State of California is composed of parts of the border of Arizona, Oregon, Nevada and the Pacific Ocean.
That is it for now.

