Bug#845429: grass: v.net.iso - Segmentation fault

Eduardo Corbelle Rico eduardo.corbelle at gmx.net
Wed Nov 23 18:09:14 UTC 2016


O Mér, 23-11-2016 ás 11:44 +0100, Bas Couwenberg escribiu:
> Control: tags -1 moreinfo
> 
> 
> On 2016-11-23 11:33, Eduardo Corbelle Rico wrote:
> > It happened to me that the use of v.net.iso command results in a
> > segmentation fault. I could replicate the error in two different
> > machines, with my own data and with both examples shown in the
> > online
> > manual ( https://grass.osgeo.org/grass70/manuals/v.net.iso.html )
> > using the Spearfish dataset for GRASS 7.
> 
> Please provide the steps to reproduce the issue.
> 
> Kind Regards,
> 
> Bas



O Mér, 23-11-2016 ás 11:44 +0100, Bas Couwenberg escribiu:
> Control: tags -1 moreinfo
> 
> 
> On 2016-11-23 11:33, Eduardo Corbelle Rico wrote:
> > It happened to me that the use of v.net.iso command results in a
> > segmentation fault. I could replicate the error in two different
> > machines, with my own data and with both examples shown in the
> > online
> > manual ( https://grass.osgeo.org/grass70/manuals/v.net.iso.html )
> > using the Spearfish dataset for GRASS 7.
> 
> Please provide the steps to reproduce the issue.
> 
> Kind Regards,
> 
> Bas

I copied below the commands and the output. The error is in the final
step.

Greetings,

Eduardo

__________________

GRASS 7.0.5 (spearfish60_grass7):~ > # Spearfish
GRASS 7.0.5 (spearfish60_grass7):~ > 
GRASS 7.0.5 (spearfish60_grass7):~ > # start node:
GRASS 7.0.5 (spearfish60_grass7):~ > echo "591280.5|4926396.0|1" |
v.in.ascii in=- out=startnode
Scanning input for column types...
Number of columns: 3
Number of rows: 1
Importing points...
 100%
Populating table...
Building topology for vector map <startnode at vnetiso>...
Registering primitives...
One primitive registered
One vertex registered
Building areas...
 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
 100%
Number of nodes: 0
Number of primitives: 1
Number of points: 1
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
GRASS 7.0.5 (spearfish60_grass7):~ > g.copy vect=roads,myroads
Copy vector <roads at PERMANENT> to current mapset as <myroads>
GRASS 7.0.5 (spearfish60_grass7):~ > 
GRASS 7.0.5 (spearfish60_grass7):~ > # connect point to network
GRASS 7.0.5 (spearfish60_grass7):~ > v.net myroads points=startnode
out=myroads_net op=connect thresh=200
Copying features...
 100%
Building topology for vector map <myroads_net at vnetiso>...
Registering primitives...
825 primitives registered
5468 vertices registered
Number of nodes: 676
Number of primitives: 825
Number of points: 0
Number of lines: 825
Number of boundaries: 0
Number of centroids: 0
Number of areas: -
Number of isles: -
Copying attributes...
Building topology for vector map <myroads_net at vnetiso>...
Registering primitives...
828 primitives registered
5473 vertices registered
Building areas...
 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
 100%
Number of nodes: 678
Number of primitives: 828
Number of points: 1
Number of lines: 827
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.net complete. 2 lines (network arcs) written to output.
GRASS 7.0.5 (spearfish60_grass7):~ > 
GRASS 7.0.5 (spearfish60_grass7):~ > # define iso networks using
distance:
GRASS 7.0.5 (spearfish60_grass7):~ > v.net.iso input=myroads_net
output=myroads_net_iso center_cats=1-100000 costs=1000,2000,5000
Building graph...
Registering arcs...
Fallo de segmento



More information about the Pkg-grass-devel mailing list