GeometryType¶
- class GeometryType(*values)[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
Methods
Attributes
POINTLINE_STRINGPOLYGONMULTI_POINTMULTI_LINE_STRINGMULTI_POLYGONGEOMETRY_COLLECTION