mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-08-30 17:50:13 +02:00
Changed location of elevation file
This commit is contained in:
@@ -125,9 +125,12 @@ def obtain_elevation(gdf):
|
|||||||
|
|
||||||
# Configure the bounding box for the elevation library
|
# 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(
|
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(
|
# subprocess.run(
|
||||||
|
Reference in New Issue
Block a user