Skip to content

WellKnownType

Namespace: ThinkGeo.Core

This describes a set of enumerations that list the valid types of geometries.

public enum WellKnownType

Inheritance ObjectValueTypeEnumWellKnownType
Implements IComparable, IFormattable, IConvertible

Remarks:

Each of the geometries listed is either a subset or compatible with the OpenGIS specifications or the simple feature specifications. Each different kind of geometry can also be converted to well-known text and well-known binary. We have added some additional geometry types (such as the ellipse and rectangle) which normally are not included as separate GIS geometries but are very useful and can easily be converted to standard types.

Fields

Name Value Description
Invalid 0 An invalid shape type.
Point 1 A Point is a geometry that represents a single location in coordinate
space.
Line 2 A Line is a curve with linear interpolation between points.
Polygon 3 A Polygon is a planar surface representing a multisided geometry. It is defined
by a single exterior boundary and zero or more interior boundaries, where each interior
boundary defines a hole in the Polygon.
Multipoint 4 A MultiPoint is a geometry collection composed of Point elements. The points are
not connected or ordered in any way.
Multiline 5 A MultiLine is a geometry collection composed of Line elements.
Multipolygon 6 A MultiPolygon is a object composed of one or more Polygon elements.
GeometryCollection 7 A GeometryCollection is a object composed of one or more Shape elements.