Refs #25499 -- Fixed expressions in distance lookups on Oracle.
This commit is contained in:
parent
f233aa3ff9
commit
00db71d452
|
@ -28,7 +28,7 @@ class SDOOperator(SpatialOperator):
|
||||||
|
|
||||||
|
|
||||||
class SDODistance(SpatialOperator):
|
class SDODistance(SpatialOperator):
|
||||||
sql_template = "SDO_GEOM.SDO_DISTANCE(%%(lhs)s, %%(rhs)s, %s) %%(op)s %%%%s" % DEFAULT_TOLERANCE
|
sql_template = "SDO_GEOM.SDO_DISTANCE(%%(lhs)s, %%(rhs)s, %s) %%(op)s %%(value)s" % DEFAULT_TOLERANCE
|
||||||
|
|
||||||
|
|
||||||
class SDODWithin(SpatialOperator):
|
class SDODWithin(SpatialOperator):
|
||||||
|
|
Loading…
Reference in New Issue