Removed unused SpatialOperations.from_wkb.

Unused since its introduction in ff60c5f9de.
This commit is contained in:
Tim Graham 2017-07-26 20:03:41 -04:00 committed by GitHub
parent c91dcd36fc
commit ef9344b3a5
3 changed files with 0 additions and 6 deletions

View File

@ -38,7 +38,6 @@ class BaseSpatialOperations:
# Constructors # Constructors
from_text = False from_text = False
from_wkb = False
# Default conversion functions for aggregates; will be overridden if implemented # Default conversion functions for aggregates; will be overridden if implemented
# for the spatial backend. # for the spatial backend.

View File

@ -36,10 +36,6 @@ class MySQLOperations(BaseSpatialOperations, DatabaseOperations):
def select(self): def select(self):
return self.geom_func_prefix + 'AsText(%s)' return self.geom_func_prefix + 'AsText(%s)'
@cached_property
def from_wkb(self):
return self.geom_func_prefix + 'GeomFromWKB'
@cached_property @cached_property
def from_text(self): def from_text(self):
return self.geom_func_prefix + 'GeomFromText' return self.geom_func_prefix + 'GeomFromText'

View File

@ -29,7 +29,6 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
unionagg = 'GUnion' unionagg = 'GUnion'
from_text = 'GeomFromText' from_text = 'GeomFromText'
from_wkb = 'GeomFromWKB'
select = 'AsText(%s)' select = 'AsText(%s)'
gis_operators = { gis_operators = {