class documentation

class OracleSpatialAdapter(WKTAdapter): (source)

View In Hierarchy

Undocumented

Method __init__ Oracle requires that polygon rings are in proper orientation. This affects spatial operations and an invalid orientation may cause failures. Correct orientations are: * Outer ring - counter clockwise * Inner ring(s) - clockwise...
Instance Variable srid Undocumented
Instance Variable wkt Undocumented
Class Method _fix_geometry_collection Fix polygon orientations in geometry collections as described in __init__().
Class Method _fix_polygon Fix single polygon orientation as described in __init__().
Static Method _polygon_must_be_fixed Undocumented

Inherited from WKTAdapter:

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __str__ Undocumented
def __init__(self, geom): (source)

Oracle requires that polygon rings are in proper orientation. This affects spatial operations and an invalid orientation may cause failures. Correct orientations are: * Outer ring - counter clockwise * Inner ring(s) - clockwise

@classmethod
def _fix_geometry_collection(cls, coll): (source)

Fix polygon orientations in geometry collections as described in __init__().

@classmethod
def _fix_polygon(cls, poly, clone=True): (source)

Fix single polygon orientation as described in __init__().

@staticmethod
def _polygon_must_be_fixed(poly): (source)

Undocumented