def __compile_wkbspatialelement(element, compiler, **kw): from geoalchemy.dialect import DialectManager database_dialect = DialectManager.get_spatial_dialect(compiler.dialect) function = _get_function(element, compiler, (database_dialect.bind_wkb_value(element), element.srid), kw.get('within_columns_clause', False)) return compiler.process(function)
def __compile_wkbspatialelement(element, compiler, **kw): from geoalchemy.dialect import DialectManager database_dialect = DialectManager.get_spatial_dialect(compiler.dialect) function = _get_function( element, compiler, (database_dialect.bind_wkb_value(element), element.srid), kw.get('within_columns_clause', False)) return compiler.process(function)
def __compile_wktspatialelement(element, compiler, **kw): function = _get_function(element, compiler, (element.desc, element.srid), kw.get('within_columns_clause', False)) return compiler.process(function)
def __compile_dbspatialelement(element, compiler, **kw): function = _get_function(element, compiler, [literal(element.desc)], kw.get('within_columns_clause', False)) return compiler.process(function)