class documentation

class OGRGeomType:

View In Hierarchy

Encapsulate OGR Geometry Types.
Instance Variable num Undocumented
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 ​_str​_types Undocumented
Class Variable ​_types Undocumented
Class Variable wkb25bit Undocumented
Property django Return the Django GeometryField for this OGR Type.
Property name Return a short-hand string form of the OGR Geometry type.
num =

Undocumented

def __eq__(self, other):
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):
Figure out the correct OGR Type based upon the input.
def __str__(self):
Return the value of the name property.
def to_multi(self):
Transform Point, LineString, Polygon, and their 25D equivalents to their Multi... counterpart.
_str_types =

Undocumented

_types =

Undocumented

wkb25bit: int =

Undocumented

@property
django =
Return the Django GeometryField for this OGR Type.
@property
name =
Return a short-hand string form of the OGR Geometry type.