[GRASS-dev] [GRASS GIS] #517: v.net.iso / v.net.alloc: keep original cat values or change output to field in attribute table instead of new map

GRASS GIS trac at osgeo.org
Wed Jun 21 02:39:12 PDT 2017


#517: v.net.iso / v.net.alloc: keep original cat values or change output to field
in attribute table instead of new map
--------------------------+-------------------------
  Reporter:  effilc36     |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Milestone:  7.4.0
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:  v.net.iso
       CPU:  All          |   Platform:  All
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [comment:12 mlennert]:
 > Replying to [comment:11 mmetz]:
 >
 > > Done in r71194 for v.net.alloc (new flag -u). The newly created
 attribute table has the fields cat (category value), ocat (original
 category value), center (category value of nearest center).
 > > >
 >
 > This one segfaults for me when doing the following:
 >
 >
 > {{{
 > v.net streets_wake points=schools_wake op=connect out=network
 thresh=99999
 > v.net.alloc -u network ccats=1-5 out=alloc
 > }}}
 >
 > valgrind reports the issue to be on line 344 of main.c:
 >
 >
 > {{{
 > Invalid read of size 4
 > ==3597==    at 0x10B588: main (main.c:344)
 > ==3597==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
 > }}}

 Fixed in r71197.

 I want to sync v.net.alloc and v.net.iso some more, these two modules are
 very similar.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/517#comment:13>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list