[GRASS-user] No statistics output

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? 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

On Mon, Sep 15, 2008 at 3:14 PM, Hufkens Koen <koen.hufkens@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

Restarting GRASS seemed to have resolved the issue. It stays weird, anyway if it disturbs my batch process I’ll report back.

Cheers,
Koen

-----Original Message-----
From: grass-user-bounces@lists.osgeo.org on behalf of Hufkens Koen
Sent: Mon 15-9-2008 15:14
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] No statistics output

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? 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