[GRASS-dev] [GRASS GIS] #915: r.proj.seg: doesn't copy cats/ file

#915: r.proj.seg: doesn't copy cats/ file
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Raster | Version: svn-develbranch6
Keywords: r.proj | Platform: Linux
      Cpu: x86-32 |
--------------------+-------------------------------------------------------
Hi,

it seems that r.proj.seg forgets to copy over the cats/ file to the new
location, so the map title etc. are lost in translation.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/915&gt;
GRASS GIS <http://grass.osgeo.org>

#915: r.proj.seg: doesn't copy cats/ file
---------------------+------------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Raster | Version: svn-develbranch6
Resolution: | Keywords: r.proj
  Platform: Linux | Cpu: x86-32
---------------------+------------------------------------------------------
Comment (by glynn):

Replying to [ticket:915 hamish]:

> it seems that r.proj.seg forgets to copy over the cats/ file to the new
location, so the map title etc. are lost in translation.

Also true of r.proj. Note that copying categories is only meaningful for
method=nearest; interpolation will result in an FP map.

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

#915: r.proj.seg: doesn't copy cats/ file
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Raster | Version: svn-develbranch6
Keywords: r.proj | Platform: Linux
      Cpu: x86-32 |
--------------------+-------------------------------------------------------
Changes (by neteler):

  * milestone: 6.4.0 => 6.4.4

Comment:

Perhaps the support() of raster/r.patch/support.c could be used (and
moved to library level)?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/915#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>