Removed unused SpatialOperations.from_wkb.
Unused since its introduction in ff60c5f9de
.
This commit is contained in:
parent
c91dcd36fc
commit
ef9344b3a5
|
@ -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.
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue