diff --git a/src/main/python/calibrate.py b/src/main/python/calibrate.py index 07596d0..de54d1b 100644 --- a/src/main/python/calibrate.py +++ b/src/main/python/calibrate.py @@ -47,7 +47,7 @@ def filter_persons(persons): persons = gpd.GeoDataFrame(persons, geometry=gpd.points_from_xy(persons.home_x, persons.home_y)) - df = gpd.sjoin(persons.set_crs("EPSG:25832"), region, how="inner", op="intersects") + df = gpd.sjoin(persons.set_crs("EPSG:25832"), region, how="inner", predicate="intersects") print("Filtered %s persons" % len(df))