[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

#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:15 mlennert]:
>
> Is it better to have everything in a module and create wrapper modules,
or would it be more interesting to put the common part of the code into a
library ?

I would prefer to make the costs option of v.net.iso optional and make
v.net.alloc a wrapper for v.net.iso.

If other modules need that functionality as well, the code part that
assigns centers to nodes could be put into the neta library. The existing
functions NetA_distance_[from|to]_points() are similar, but return the
paths to nearest centers instead of the nearest centers themselves.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/517#comment:16&gt;
GRASS GIS <https://grass.osgeo.org>