Hi Markus,

2013/11/30 Markus Metz <[email protected]>:

[...]

>> Tool: Break lines at intersections
>> 0..ERROR: Nodes not available for line 11725
>>
>> Defining `type` explicitly helps
>>
>> $ v.clean in=x3 out=x4 tool=break --o type=boundary
>
> Fixed in r58340, please test.

thanks for super-quick fix! It seems to be OK, I found similar problem
in `merge_lines.c` (see the attached patch).

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Index: lib/vector/Vlib/merge_lines.c
===================================================================
--- lib/vector/Vlib/merge_lines.c       (revision 58340)
+++ lib/vector/Vlib/merge_lines.c       (working copy)
@@ -111,7 +111,7 @@
        Line = Plus->Line[line];
        ltype = Line->type;
 
-       if (!(ltype & type))
+       if (ltype & GV_POINTS || !(ltype & type))
            continue;
            
        Vect_read_line(Map, NULL, MCats, line);
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to