Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
I’m not sure I made myself clear. I have a “real” river vector dataset of an area.
It includes artificial channels also.
This dataset was digitised manually and does not match the extracted river dataset from DTM algorithms in grass (r.stream.extraxt)
I need to use the real river vector dataset - hence maybe alter the DTM so that it picks up these “real” rivers (perhaps by using r.carve?) as opposed to what would be created by r.stream.extract.
And then when that step is complete, obtain elevation height above the river.
Hope this makes sense and I am clear in my explanation.
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
Maybe Height Above Nearest Drainage (HAND) is what you are looking for. It is basically done using:
You will need to do some post processing with r.lake or r.mapcalc and r.to.vect to get the polygons.
Since you already have the streams and you want to use them, you need to convert them to raster and then also get stream direction for r.stream.distance by reclassifying, e.g. with r.mapcalc, output from something like this:
v.to.rast in=streams output=streams_dir use=dir
which you can see in context here (different hydrology tool):
Ok great - thanks. I think I will use r.carve to carve the streams into the DTM first and then use this procedure you have described. Do you with the seed raster (for r.lake) if I convert the stream to raster, will ever cell be a seed point (i.e. Water will be placed into every cell at a height of x?)? If so, this is exactly what I need.
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.
That is were the third step should follow, i.e. using r.mapcalc to identify all the cells that are 1m higher than the grown river (irrespective in which distance from the river these cells are located). The rasterized area could then be translated into a vector format using r.to.vect.
Here a small example of how the working flow could be using the North Caroline example dataset:
##############
Thanks for your reply. How does r.grow work if let’s say the height above the river reaches 1m at 3meters away from the river. And in an other area it reaches the 1meter height at 2meters away from the river. Is it able to follow that line?
To me this looks like a flooding-related question, i.e. to extract the shore lines of a river if it’s water level is raised by 1m or 3m?
Maybe (1) extract the raster cells of the elevation map that represents the river channel, (2) then apply r.grow and (3) then r.mapcalc to subtract the grown river channel from the original elevation map.
/Johannes
On Sun, Sep 16, 2018 at 5:16 PM Markus Neteler <neteler@osgeo.org> wrote:
Does anyone know is it possible to calculate the elevation above a river channel (actual river network that was digitised as opposed to being extracted from a DTM) from a DTM and create a polygon from it.
I need to calculate heights of 1m and 3m above a river channel on both sides of the channel and create a polygon from it.