Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slope finishing abruptly #2

Closed
Pypadopoulos opened this issue Sep 19, 2023 · 3 comments
Closed

Slope finishing abruptly #2

Pypadopoulos opened this issue Sep 19, 2023 · 3 comments

Comments

@Pypadopoulos
Copy link

When the Reservoir tool is used, slope stars correctly from poliline marked and starts the slope at selected ratio (1:H). But suddenly, when slope reaches 100 meters each side in plan view, it descends abruptly to the terrain. I tried in several locations obtaining the same result. Lake is obtained correctly.

Two figures are attatched to ilustrate the problem.

ModifiedTerrain
OriginalTerrain

INPUT: ({ 'DEM' : 'XXXX/Test-MDT-Migas.tif', 'dam_top_level' : 400, 'dam_vector_layer' : 'C:/Users/RVV/Desktop/Test-LIN.shp', 'dam_wall_slope' : 3, 'new_DEM_raster' : 'TEMPORARY_OUTPUT', 'new_lake_raster' : 'TEMPORARY_OUTPUT', 'reservoir_inner_point' : '576415.550627,4132294.982787 [EPSG:3042]', 'water_depth_from_top' : 5 })

@Pypadopoulos
Copy link
Author

Same issue is had with the Earthworks tool (tried with a full-slope earthwork) :
ModifiedTerrain2
{ 'DEM' : 'XXXX/Test-MDT-Migas.tif', 'cut_slope' : 1, 'fill_slope' : 3, 'new_DEM' : 'TEMPORARY_OUTPUT', 'platform' : 'C:/Users/RVV/Desktop/Platform.shp', 'platform_level' : 400 }

@MBR111
Copy link
Owner

MBR111 commented Sep 20, 2023

When the Reservoir tool is used, slope stars correctly from poliline marked and starts the slope at selected ratio (1:H). But suddenly, when slope reaches 100 meters each side in plan view, it descends abruptly to the terrain. I tried in several locations obtaining the same result. Lake is obtained correctly.

Two figures are attatched to ilustrate the problem.

ModifiedTerrain OriginalTerrain

INPUT: ({ 'DEM' : 'XXXX/Test-MDT-Migas.tif', 'dam_top_level' : 400, 'dam_vector_layer' : 'C:/Users/RVV/Desktop/Test-LIN.shp', 'dam_wall_slope' : 3, 'new_DEM_raster' : 'TEMPORARY_OUTPUT', 'new_lake_raster' : 'TEMPORARY_OUTPUT', 'reservoir_inner_point' : '576415.550627,4132294.982787 [EPSG:3042]', 'water_depth_from_top' : 5 })

When the Reservoir tool is used, slope stars correctly from poliline marked and starts the slope at selected ratio (1:H). But suddenly, when slope reaches 100 meters each side in plan view, it descends abruptly to the terrain. I tried in several locations obtaining the same result. Lake is obtained correctly.

Two figures are attatched to ilustrate the problem.

ModifiedTerrain OriginalTerrain

INPUT: ({ 'DEM' : 'XXXX/Test-MDT-Migas.tif', 'dam_top_level' : 400, 'dam_vector_layer' : 'C:/Users/RVV/Desktop/Test-LIN.shp', 'dam_wall_slope' : 3, 'new_DEM_raster' : 'TEMPORARY_OUTPUT', 'new_lake_raster' : 'TEMPORARY_OUTPUT', 'reservoir_inner_point' : '576415.550627,4132294.982787 [EPSG:3042]', 'water_depth_from_top' : 5 })

Hi there,

This particular issue can be solved editing the file "Reservoir_algorithm.py" in the Qgis plugin folder located under your Qgis profile directory (you can open it directly from Qgis) and changing the line 'RINGS': 1000, to 'RINGS': 10000,

Try it and please come back to me if it doesn't solve your problem.

@MBR111
Copy link
Owner

MBR111 commented Sep 20, 2023

Same issue is had with the Earthworks tool (tried with a full-slope earthwork) : ModifiedTerrain2 { 'DEM' : 'XXXX/Test-MDT-Migas.tif', 'cut_slope' : 1, 'fill_slope' : 3, 'new_DEM' : 'TEMPORARY_OUTPUT', 'platform' : 'C:/Users/RVV/Desktop/Platform.shp', 'platform_level' : 400 }

Hi there,

This particular issue can be solved editing the file "Earthworks_algorithm.py" in the Qgis plugin folder located under your Qgis profile directory (you can open it directly from Qgis) and changing the line 'RINGS': 100, to 'RINGS': 1000, or a value higher than the planar extents of the earthwork (you should try with differents values).

Try it and please come back to me if it doesn't solve your problem.

@MBR111 MBR111 closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants