[GRASS-dev] [GRASS GIS] #3645: r.nieghborhoodmatrix: inverse meaning of -c flag in grass8

GRASS GIS trac at osgeo.org
Fri Sep 14 06:07:46 PDT 2018


#3645: r.nieghborhoodmatrix: inverse meaning of -c flag in grass8
--------------------------+----------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  8.0.0
 Component:  Addons       |    Version:  unspecified
Resolution:               |   Keywords:  r.neighborhoodmatrix
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+----------------------------------

Comment (by wenzeslaus):

 That's fine with me, but you may also want to consider that:

 1. r.neighborhoodmatrix is an addon module, so there is no guarantee of
 stable API linked with releases of GRASS GIS, i.e. you can change it
 anytime (Addons provide option to rapidly change, but in public and that's
 what makes them different from core.)

 2. You can introduce two flags, one to show and one to hide the headers.
 For 7, one will be NOP and the other will show column header, for 8 it
 will be the reverse. So that people who care about heaving or not heaving
 the header can actually indicate it by a flag and their code will give the
 right result with both 7 and 8 versions of the module.

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



More information about the grass-dev mailing list