class documentation

class OGRGeomType: (source)

View In Hierarchy

Encapsulate OGR Geometry Types.

Method __eq__ Do an equivalence test on the OGR type with the given other OGRGeomType, the short-hand string, or the integer.
Method __init__ Figure out the correct OGR Type based upon the input.
Method __str__ Return the value of the name property.
Method to_multi Transform Point, LineString, Polygon, and their 25D equivalents to their Multi... counterpart.
Class Variable wkb25bit Undocumented
Instance Variable num Undocumented
Property django Return the Django GeometryField for this OGR Type.
Property name Return a short-hand string form of the OGR Geometry type.
Class Variable _str_types Undocumented
Class Variable _types Undocumented
def __eq__(self, other): (source)

Do an equivalence test on the OGR type with the given other OGRGeomType, the short-hand string, or the integer.

def __init__(self, type_input): (source)

Figure out the correct OGR Type based upon the input.

def __str__(self): (source)

Return the value of the name property.

def to_multi(self): (source)

Transform Point, LineString, Polygon, and their 25D equivalents to their Multi... counterpart.

wkb25bit: int = (source)

Undocumented

Undocumented

Return the Django GeometryField for this OGR Type.

Return a short-hand string form of the OGR Geometry type.

_str_types = (source)

Undocumented

Undocumented