I need to cut a floodplain polygon into one meter strips which are perpendicular to the river. This needs to be an automated process. Just wondering has anyone ever done this or similar in Grass GIS through python or a bash script?
The link attached shows two slides. Stage one is the first slide and slide two is what I hope to end up with.
I need to cut a floodplain polygon into one meter strips which are perpendicular to the river. This needs to be an automated process. Just wondering has anyone ever done this or similar in Grass GIS through python or a bash script?
The link attached shows two slides. Stage one is the first slide and slide two is what I hope to end up with.
On Sun, Oct 14, 2018 at 11:28 PM Shane Carey <careyshan@gmail.com> wrote:
Hi,
I need to cut a floodplain polygon into one meter strips which are perpendicular to the river. This needs to be an automated process. Just wondering has anyone ever done this or similar in Grass GIS through python or a bash script?
The link attached shows two slides. Stage one is the first slide and slide two is what I hope to end up with.
I don’t think v.transects is going to work for me as lines appear to be cutting across each other. Is there another tool in Grass that can cut the floodplain polygon into 5m lengths (as green lines in image attached)
It seems that would would like to have your floodplain cut based on the columns of the underlying raster-resolution (and not perpendicular to the river line as initially stated). You could use mapcalc to generate a column raster map (r.mapcalc expression=“colmap = col()”) which you could then transform to a vector map and use to intersect with your floodplain vector.
I don’t think v.transects is going to work for me as lines appear to be cutting across each other. Is there another tool in Grass that can cut the floodplain polygon into 5m lengths (as green lines in image attached)
I need to cut a floodplain polygon into one meter strips which are perpendicular to the river. This needs to be an automated process. Just wondering has anyone ever done this or similar in Grass GIS through python or a bash script?
The link attached shows two slides. Stage one is the first slide and slide two is what I hope to end up with.
Ok, I seem to be getting closer to what I need. It works well where the river is perpendicular to the column (see slide 3) but where it is parrallel (see slide 4), I would need to obtain a rows map. Is there any way of being able to tell it to create rows or columns based on the river direction?
What about obtaining the main direction of the river (North - South/ East- West) and creating the rows/columns based on that? Any advice/ help would be appreciated!
Thanks all