[GRASS-dev] [GRASS GIS] #3546: t.rast.what: issues in one_point_per_col_output()

GRASS GIS trac at osgeo.org
Tue May 15 12:23:17 PDT 2018


#3546: t.rast.what: issues in one_point_per_col_output()
-----------------------+-------------------------
  Reporter:  sbl       |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.4.1
 Component:  Temporal  |    Version:  7.4.0
Resolution:            |   Keywords:  t.rast.what
       CPU:  All       |   Platform:  All
-----------------------+-------------------------

Comment (by veroandreo):

 I tested the fix following the example in trunk (with the fix) and in
 release branch. Personally, I would prefer to get only cat number when
 using -v flag. Default could still be the coords (-n) and -v only cat
 values.

 Moreover, testing different layouts, I found that when using
 `layout=timerow`, there's an extra empty column or line according if I use
 -vn or only -v (but this also happens in release branch, without the fix):

 {{{
 t.rast.what strds=A points=points layout=timerow -vn
 cat|x|y|1990-01-01 00:00:00;1990-02-01 00:00:00|1990-02-01
 00:00:00;1990-03-01 00:00:00|1990-03-01 00:00:00;1990-04-01
 00:00:00|1990-04-01 00:00:00;1990-05-01 00:00:00
 1|115.004358627375|36.3593955782903||1|2|3|4
 2|79.681676382576|45.2391522852909||1|2|3|4
 3|97.4892579600048|79.2347263950131||1|2|3|4

 t.rast.what strds=A points=points layout=timerow -v

 1|115.004358627375|36.3593955782903||1|2|3|4
 2|79.681676382576|45.2391522852909||1|2|3|4
 3|97.4892579600048|79.2347263950131||1|2|3|4
 }}}

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



More information about the grass-dev mailing list