[GRASS-dev] v.clean tool=break fails

Markus Metz markus.metz.giswork at gmail.com
Sat Nov 30 08:48:42 PST 2013


On Sat, Nov 30, 2013 at 12:26 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi all,
>
> recently I found problem when breaking lines using `v.clean`.
>
> I have a patched map that contains boundaries and centroids.
>
> $ v.info x3 -t
> nodes=8219
> points=0
> lines=0
> boundaries=11807
> centroids=4876
> areas=4875
> islands=1222
> primitives=16683
> map3d=0
>
> When I try to break lines on intersections `v.clean` fails because it
> tries to read nodes from centroids (which obviously fails).
>
> $ v.clean in=x3 out=x4 tool=break --o
> ...
> 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.

Markus M


More information about the grass-dev mailing list