[GRASS-user] Merging connected stream lines

Stefan Blumentrath Stefan.Blumentrath at nina.no
Fri Oct 27 04:51:46 PDT 2017


Hi,

It works fine for me:

GRASS 7.2.1svn (nc_spm_08_grass7): > v.net.components input=roadsmajor output=roadsmajor_components method=strong
Building graph...
Registering arcs...
100%
Flattening the graph...
Graph was built
Computing strongly connected components...
Writing output...
100%
Building topology for vector map
<roadsmajor_components at stefan.blumentrath>...
Registering primitives...
355 primitives registered
55717 vertices registered
Building areas...
100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
100%
Number of nodes: 266
Number of primitives: 355
Number of points: 0
Number of lines: 355
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.net.components complete. Found 7 components.

On:
GRASS 7.2.1svn (nc_spm_08_grass7): > g.version -g
version=7.2.1svn
date=2017
revision=r70326
build_date=2017-01-10
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8

Cheers
Stefan

From: grass-user [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of Huidae Cho
Sent: fredag 27. oktober 2017 12.52
To: Markus Metz <markus.metz.giswork at gmail.com>
Cc: GRASS user list <grass-user at lists.osgeo.org>
Subject: Re: [GRASS-user] Merging connected stream lines

Actually, I'm getting the same error as Markus in the NC dataset. I recently discleaned and rebuilt the latest SVN.
Huidae

On Thu, Oct 26, 2017 at 4:14 PM, Markus Metz <markus.metz.giswork at gmail.com<mailto:markus.metz.giswork at gmail.com>> wrote:


On Thu, Oct 26, 2017 at 5:02 PM, Markus Neteler <neteler at osgeo.org<mailto:neteler at osgeo.org>> wrote:
>
> On Thu, Oct 26, 2017 at 9:58 AM, Stefan Blumentrath
> <Stefan.Blumentrath at nina.no<mailto:Stefan.Blumentrath at nina.no>> wrote:
> > Hi,
> >
> > Did you try:
> >
> > https://grass.osgeo.org/grass72/manuals/v.net.components.html
> >
> > That might give you a common attribute for all connected lines in your
> > network…
>
> I just tried that with NC but:
>
> GRASS 7.3.svn (nc_spm_08_grass7):~ > v.net.components input=roadsmajor
> output=roadsmajor_components method=strong
> Building graph...
> Registering arcs...
>  100%
> Flattening the graph...
> ERROR: GngFlatten error
>
>
> GRASS 7.3.svn (nc_spm_08_grass7):~ > v.net.components input=railroads
> output=railroads_components method=strong
> Building graph...
> Registering arcs...
>  100%
> Flattening the graph...
> ERROR: GngFlatten error
>
> Does the network need any special treatment?
I can not reproduce these errors. Please update your local copy:
make distclean
svn --no-ignore status
svn up
configure
make
Markus M
>
> Markus
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171027/ee723fab/attachment-0001.html>


More information about the grass-user mailing list