Add support for ST_SimplifyPreserveTopology
This commit is contained in:
1 parent
a2f5d1cfc5
commit
d2c25a0021
1 file changed
+6
@@ -278,6 +278,12 @@ class PostgreSQLAdapter(BaseAdapter):
|
||||
"""
|
||||
return 'ST_Simplify(%s,%s)' %(self.expand(first), self.expand(second, 'double'))
|
||||
|
||||
def ST_SIMPLIFYPRESERVETOPOLOGY(self, first, second):
|
||||
"""
|
||||
http://postgis.org/docs/ST_SimplifyPreserveTopology.html
|
||||
"""
|
||||
return 'ST_SimplifyPreserveTopology(%s,%s)' %(self.expand(first), self.expand(second, 'double'))
|
||||
|
||||
def ST_TOUCHES(self, first, second):
|
||||
"""
|
||||
http://postgis.org/docs/ST_Touches.html
|
||||
|
||||
Reference in new issue
Block a user