geofileops.PrimitiveType#

class geofileops.PrimitiveType(value)#

Enumeration of the different existing primitive types of a geometry.

__init__()#

Attributes

GEOMETRY

POINT

LINESTRING

POLYGON

dimensions

Get the number of dimensions of the type.

to_multitype

Get the corresponding multitype.

to_singletype

Get the corresponding multitype.