QGIS preparation
-
Necessary Files Hydrological DTM Hydrodynamic DTM
-
Steps: Create a polygon and then outside lines of the Hydrodynamic dtm grid
Cut the lines to the study area and remove any islands
Use v.parallel from GRASS (QGIS) to set a buffer from the initial line and create a parallel line.
For each line, initial and parallel, select the elements of the hydrological DTM through localization, and save only the selected elements
Create centroids to this file with selected elements, and attribute geometry to add coordinates to the file, and save this last file.
The last file, with coordinates, will be read by the python script.