[Qgis-developer] join two lines plugin

Ivan Mincik ivan.mincik at gmail.com
Sun May 16 17:32:15 EDT 2010


On Sun, May 16, 2010 at 10:14 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
>
> join two lines throws errors:
> ===
> Traceback (most recent call last):
> File "/home/paolo/.qgis/python/plugins/joinlines/joinlines.py", line 150,
> in run
> del respnts[0]
> IndexError: list assignment index out of range
> ===
> Traceback (most recent call last):
> File "/home/paolo/.qgis/python/plugins/joinlines/joinlines.py", line 79, in
> run
> pnts=newlist[0].asPolyline()
> IndexError: list index out of range
>

This error is coming out when selected lines can not create single
LINESTRING. (they are not snapped together on line ends or they are
not snapped at all ).

Ivan


More information about the Qgis-developer mailing list