[GRASS-user] No statistics output

Markus Neteler neteler at osgeo.org
Mon Sep 15 09:49:43 EDT 2008


On Mon, Sep 15, 2008 at 3:14 PM, Hufkens Koen <koen.hufkens at ua.ac.be> wrote:
>
> Hi list,
>
> I read in some geotiff raster files and wanted some basic info about cover
> per class etc.
>
> When running r.cats I get the following output:
>
> 1
> 5       Hwe-
> 6       Hg
> 8       Gt--
> 9       Gpap
> 10      Gpar
> 11      Gpnd
> 12      Gpj-
> 13      Fcpc
> 14      Fcps
> 15      Fdb-
> 16      Fdqz
> 17      Sb-
> 21      Wo
> 23      Ac
>
> When running r.stats I get an empty sheet, other statistics which include
> categories also turn up empty. Any idea what's going on?

Most likely your current GRASS region does not cover the map.

g.region rast=BWK-reclassed-HABISTAT

should help before running the other commands.

Markus

> It looks like the
> stats functions don't recognize the categories. Also when using the query
> tool in the map display the values of the underlying pixel don't show (only
> * -> example query output: r.what -f input=BWK-reclassed-HABISTAT
> east_north=154253.966939,232124.628713 = 154253.966939|232124.628713||*).
>
> Kind regards,
> Koen
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>



-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/


More information about the grass-user mailing list