def filter_by_accuracy(points, cutoff=30):
    """
    Remove points that have worse reported accuracy than the cutoff value in meters.
    """
    for p in points:
        if p.h_accuracy <= cutoff:
            yield p
