diff --git a/prettymaps/fetch.py b/prettymaps/fetch.py index 6d9b126..cd864c2 100644 --- a/prettymaps/fetch.py +++ b/prettymaps/fetch.py @@ -125,9 +125,12 @@ def obtain_elevation(gdf): # Configure the bounding box for the elevation library - output_file = os.path.join(os.path.dirname(os.getcwd()), "elevation.tif") + output_file = os.path.join(os.getcwd(), "elevation.tif") elevation.clip( - bounds=(min_lon, min_lat, max_lon, max_lat), output=output_file, margin="10%" + bounds=(min_lon, min_lat, max_lon, max_lat), + output=output_file, + margin="10%", + cache_dir=".", ) # subprocess.run(