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
from_text = False
from_wkb = False
# Default conversion functions for aggregates; will be overridden if implemented
# for the spatial backend.

View File

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

View File

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