

def simplify(self, tolerance=0.0, srid=None, format=None, precision=8):
    'Returns a GeoQuerySet with simplified geometries serialized to\n        a supported geometry format.\n        '
    transform = self._transform(srid)
    simplify = self._simplify(transform, tolerance)
    if format:
        return self._as_format(simplify, format, precision)
    if connection.ops.spatialite:
        if (not (transform or srid)):
            return self
        simplify = ('AsEWKT(%s)' % simplify)
    return self.extra(select={
        self.geo_field.name: simplify,
    })

dataset/ETHPy150Open bkg/django-spillway/spillway/query.py GeoQuerySet.simplify/VarMisuse@79/126 `tolerance`->`transform`