Geometry column type. This is the base class for all other geometry types like Point, LineString, Polygon, etc.
Converts bind/result values to/from a dialect specific persistent geometry value.
Define a declarative column property with GIS behavior.
This just produces orm.column_property() with the appropriate extension and comparator_factory arguments. The given arguments are passed through to Column. The declarative module extracts the Column for inclusion in the mapped table.
This method can also be used for non-declarative mappings to set the properties for a geometry column when defining the mapping.
A DDL extension which integrates SQLAlchemy table create/drop methods with AddGeometryColumn/DropGeometryColumn functions of spatial databases.
Usage:
sometable = Table('sometable', metadata, ...)
GeometryDDL(sometable)
sometable.create()
Intercepts ‘set’ events on a mapped instance attribute and converts the incoming value to a GIS expression.