

def _simplify(self, colname, tolerance=0.0):
    return (('ST_Simplify(%s, %s)' % (colname, tolerance)) if tolerance else colname)

dataset/ETHPy150Open bkg/django-spillway/spillway/query.py GeoQuerySet._simplify/original