[GRASS-dev] Get min and max value of the ranges reported by r.stats in case of fp input maps

Paulo van Breugel p.vanbreugel at gmail.com
Tue Nov 20 09:01:03 PST 2012


Is there a way to get the minimum and maximum values separately for each of
the ranges reported by fp in case of fp input maps?

I could use e.g., awk to separate the columns, but the problem is with
negative values, like in the example below:

-1--2 | 5
-2-0 | 10
0-1 | 3

The minus sign and the dash to separate the minimum and maximum value of
the range are the same character so separating by separator is not that
straightforwards (or maybe / hopefully I am missing something obvious).

Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121120/9cd16cf9/attachment.html>


More information about the grass-dev mailing list