Geometries - sibartlett/Geo GitHub Wiki

Point

Similar to the OGC Point.

LineString

Similar to the OGC LineString.

LinearRing

Similar to the OGC LinearRing.

A special type of LineString where the start and end coordinates are equal, forming a closed ring. A LineString may also have start and end coordinates that are equal, but it may not be semantically closed.

Polygon

Similar to the OGC Polygon.

Though it is not enforced, it is advised that:

  • the external ring/shell should be CCW (counter-clockwise/anti-clockwise)
  • the interior rings/holes should be CW (clockwise)

Triangle

Similar to OGC Triangle.

Same as Polygon, but the outer ring/shellis limited to 4 sets of coordinates (3 points).

GeometryCollection

Similar to the OGC GeometryCollection.

MultiPoint

Similar to the OGC MultiPoint.

MultiLineString

Similar to the OGC MultiLineString.

MultiPolygon

Similar to the OGC MultiPolygon.

Circle

A geometry type which represents a circle. It consists of a center and a radius in meters. Does not map to a OGC defined shape.