[GRASS-user] question about r.info

Checking a raster map about null values i get results that seem non consistent:
the map is a result from r.mapcalc (1 for null and 0 for all othe values)

r.info min = 0 max = 1

r.stats

0 775…

  • 805….

r.info claims max value is 1
r.stats no cell with value 1

maybe i do not get how r.info is supposed to work but if i have no value 1 cell
how can be the range beetwen “0 “ and “1”

thanks ,

Roy

Inviata da Windows Mail

m roy wrote

r.info min = 0 max = 1

r.stats
0 775…
* 805….

r.stats honours the current region, r.info doesn't.

If your map's data area would be in Europe and your current region is by
mistake defined somewhere in the middle of Canada: r.stats would report all
values to be NULL.

Hermann

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/question-about-r-info-tp5161293p5161299.html
Sent from the Grass - Users mailing list archive at Nabble.com.