

def _as_format(self, sql, format=None, precision=8):
    val = self._formats.get(format, self._formats['geojson'])
    return self.extra(select={
        format: (val % (self, precision)),
    })

dataset/ETHPy150Open bkg/django-spillway/spillway/query.py GeoQuerySet._as_format/VarMisuse@53/61 `sql`->`self`