Hi,
the script rise an error at 7th step
When I press stop-breaks to create a new layer split following the breaks an error occur :
Traceback (most recent call last):
File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\river_metrics_dockwidget.py", line 219, in addBreaks
self.final()
File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\river_metrics_dockwidget.py", line 233, in final
ll1 = createMemLayer(the_geom, self.breaks)
File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\tools.py", line 115, in createMemLayer
reach = splitLine(line,ptInt,ptFin)
File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\tools.py", line 89, in splitLine
newPoints.append(pline[iter])
IndexError: list index out of range
Do you have similar problems in the past. Do you now how to fix this?
Best regards,
Enzo
Hi, the script rise an error at 7th step When I press stop-breaks to create a new layer split following the breaks an error occur :
Traceback (most recent call last): File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\river_metrics_dockwidget.py", line 219, in addBreaks self.final() File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\river_metrics_dockwidget.py", line 233, in final ll1 = createMemLayer(the_geom, self.breaks) File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\tools.py", line 115, in createMemLayer reach = splitLine(line,ptInt,ptFin) File "C:/Users/USER/.qgis2/python/plugins\RiverMetrics\tools.py", line 89, in splitLine newPoints.append(pline[iter]) IndexError: list index out of range
Do you have similar problems in the past. Do you now how to fix this? Best regards, Enzo