[GRASS-user] remove line segment from a line vector

Markus Metz markus.metz.giswork at gmail.com
Wed Nov 5 00:59:35 PST 2014


On Tue, Nov 4, 2014 at 11:17 PM, matteo marcantonio
<matteo.marcantonio at fmach.it> wrote:
> Hello list,
>
> I'm writing since I need to clean a line vector (road network) removing all
> the line segments not connected to other segments. I guess that I need to
> remove all the segment that have valence = 0.
>
> I need to remove them to perform a network distance analysis avoiding the
> issue of unreachable nodes.
>
> Is there any way to do it?

You could use v.net.alloc with one node and then extract the allocated
network. This will automatically discard all lines not connected to
this node.

Markus M

>
> Thanks for any help
>
> Matteo
>
> --
> --
> Matteo Marcantonio
>
> PhD Candidate
> GIS & Remote Sensing
> Fondazione Edmund Mach (FEM) - Research & Innovation Centre (CRI)
>
> matteo.marcantonio at fmach.it
>
> +39 461615669 (Office)
> +39 3204240538 (Mobile)
>
> http://gis.cri.fmach.it
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list