class documentation

class PostGISAdapter: (source)

View In Hierarchy

Undocumented

Method __conform__ Does the given protocol conform to what Psycopg2 expects?
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Initialize on the spatial object.
Method __str__ Undocumented
Method getquoted Return a properly quoted string for use in PostgreSQL/PostGIS.
Method prepare This method allows escaping the binary in the style required by the server's `standard_conforming_string` setting.
Instance Variable ewkb Undocumented
Instance Variable geography Undocumented
Instance Variable is_geometry Undocumented
Instance Variable srid Undocumented
Class Method _fix_polygon Undocumented
Instance Variable _adapter Undocumented
def __conform__(self, proto): (source)

Does the given protocol conform to what Psycopg2 expects?

def __eq__(self, other): (source)

Undocumented

def __hash__(self): (source)

Undocumented

def __init__(self, obj, geography=False): (source)

Initialize on the spatial object.

def __str__(self): (source)

Undocumented

def getquoted(self): (source)

Return a properly quoted string for use in PostgreSQL/PostGIS.

def prepare(self, conn): (source)

This method allows escaping the binary in the style required by the server's `standard_conforming_string` setting.

Undocumented

geography = (source)

Undocumented

is_geometry = (source)

Undocumented

Undocumented

@classmethod
def _fix_polygon(cls, poly): (source)

Undocumented

_adapter = (source)

Undocumented