Changed location of elevation file

This commit is contained in:
marceloprates
2025-03-03 19:08:11 -03:00
parent 726fb4c67c
commit fe3d73c2c9

View File

@@ -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(