GeometryType#
- class GeometryType(value)[source]#
Integer enumerated type for different kinds of geometry.
- Initialize with an integer or string representation of the geometry type:
1 or “Point” -> POINT 2 or “LineString” -> LINE_STRING 3 or “Polygon” -> POLYGON 4 or “MultiPoint” -> MULTI_POINT 5 or “MultiLineString” -> MULTI_LINE_STRING 6 or “MultiPolygon” -> MULTI_POLYGON
Attributes
POINT
LINE_STRING
POLYGON
MULTI_POINT
MULTI_LINE_STRING
MULTI_POLYGON
GEOMETRY_COLLECTION