diff --git a/forest/jasmine/traj2stats.py b/forest/jasmine/traj2stats.py index 40381e9f..eef68ce1 100644 --- a/forest/jasmine/traj2stats.py +++ b/forest/jasmine/traj2stats.py @@ -148,8 +148,8 @@ def get_nearby_locations(traj: np.ndarray) -> Tuple[dict, dict, dict]: query += "\n);\nout geom qt;" - response = requests.get(OSM_OVERPASS_URL, - params={"data": query}, timeout=60) + response = requests.post(OSM_OVERPASS_URL, + data={"data": query}, timeout=60) response.raise_for_status() res = response.json()