

def filter_geometry(queryset, **filters):
    'Helper function for spatial lookups filters.\n\n    Provide spatial lookup types as keywords without underscores instead of the\n    usual "geometryfield__lookuptype" format.\n    '
    fieldname = geo_field(filters).name
    query = {('%s__%s' % (fieldname, k)): v for (k, v) in filters.items()}
    return queryset.filter(**query)

dataset/ETHPy150Open bkg/django-spillway/spillway/query.py filter_geometry/VarMisuse@19/81 `queryset`->`filters`