[GRASS-dev] [GRASS GIS] #2721: t.rast.what: allow stdin and add to GRASS 7.0

GRASS GIS trac at osgeo.org
Fri Aug 14 03:01:32 PDT 2015


#2721: t.rast.what: allow stdin and add to GRASS 7.0
-------------------------+-------------------------
 Reporter:  sbl          |      Owner:  grass-dev@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  7.0.2
Component:  Default      |    Version:  unspecified
 Keywords:  t.rast.what  |        CPU:  Unspecified
 Platform:  All          |
-------------------------+-------------------------
 Please find attached a diff which allows t.rast.what to read from stdin.
 That way it becomes also possible to add a site name to the output, which
 is pretty useful for later useage of it...
 The site name is only propagated to the output, when a site name has been
 provided in the (first line of the) input.

 There are probably more elegant solutions for this, so improvements are
 very welcome. I did not update the manual and the test suite yet, but I
 will try to do so, if you consider this addition useful too...

 For users with "commandlineophobia" it would be probably better to specify
 coordinates using the file option G_OPT_F_INPUT?

 Furthermore, the script works very well in GRASS 7.0 too. Any particular
 reason for not shipping it with the stable release? t.rast.what is a
 pretty handy tool!

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2721>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list