add search with distance for arbitrary geometries