[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:06:32 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 mlennert):

 Replying to [comment:11 mmetz]:

 >
 > Done in r71193 for v.net.iso (new flag -u). The newly created attribute
 table has the fields cat (category value), ocat (original category value),
 center (category value of nearest center), isonr (iso band number), isolbl
 (iso band label). A side effect is that a line is now correctly split if
 it is assigned to two different centers.

 Works great, thanks ! And the output is very useful, and probably more
 intuitive for many.

 >
 > 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
 }}}

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



More information about the grass-dev mailing list