[GRASS5] [bug #845] (grass) r.reclass and * = 0
Request Tracker
grass-bugs at intevation.de
Fri Nov 16 10:40:03 EST 2001
this bug's URL: http://intevation.de/rt/webrt?serial_num=845
-------------------------------------------------------------------------
Why doesn't my line "* = 0" work like in the manpage? Why instead "no data"?
s$ g.version
GRASS 5.0.0pre1 (May 2001)
0grass$ r.report -qh landcov units=c
+-----------------------------------------------------------------------------+
| RASTER MAP CATEGORY REPORT |
|LOCATION: leics Fri Nov 16 15:30:05 2001|
|-----------------------------------------------------------------------------|
| north: 322000 east: 449750 |
|REGION south: 316000 west: 444000 |
| res: 50 res: 50 |
|-----------------------------------------------------------------------------|
|MASK:none |
|-----------------------------------------------------------------------------|
|MAP: Land Cover / Land Use (landcov in PERMANENT) |
|-----------------------------------------------------------------------------|
| Category Information | cell|
|#|description |count|
|-----------------------------------------------------------------------------|
|1|Industry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 343|
|2|Residential. . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 1317|
|3|Quarry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 50|
|4|Woodland . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 117|
|5|Arable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 7891|
|6|Pasture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 2906|
|7|Scrub. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 1041|
|8|Water. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 135|
|-----------------------------------------------------------------------------|
|TOTAL |13800|
+-----------------------------------------------------------------------------+
0grass$ cat in
6 7 = 1
* = 0
end
0grass$ r.reclass input=landcov output=gradeIIIa title='Grade III agricultural land' < in
0grass$ r.report -qh gradeIIIa units=c
+-----------------------------------------------------------------------------+
| RASTER MAP CATEGORY REPORT |
|LOCATION: leics Fri Nov 16 15:30:46 2001|
|-----------------------------------------------------------------------------|
| north: 322000 east: 449750 |
|REGION south: 316000 west: 444000 |
| res: 50 res: 50 |
|-----------------------------------------------------------------------------|
|MASK:none |
|-----------------------------------------------------------------------------|
|MAP: Grade III agricultural land (gradeIIIa in jidanni) |
|-----------------------------------------------------------------------------|
| Category Information | cell|
|#|description |count|
|-----------------------------------------------------------------------------|
|1| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 3947|
|*|no data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 9853|
|-----------------------------------------------------------------------------|
|TOTAL |13800|
+-----------------------------------------------------------------------------+
--- Headers Follow ---
>From neteler at itc.it Fri Nov 16 16:40:02 2001
Return-Path: <neteler at itc.it>
Delivered-To: grass-bugs at lists.intevation.de
Received: from omecihuatl.rz.uni-osnabrueck.de (omecihuatl.rz.Uni-Osnabrueck.DE [131.173.17.35])
by lists.intevation.de (Postfix) with ESMTP id 8853D139CC
for <grass-bugs at intevation.de>; Fri, 16 Nov 2001 16:39:57 +0100 (CET)
Received: from camelot.itc.it (camelot.itc.it [195.223.171.5])
by omecihuatl.rz.uni-osnabrueck.de (8.11.1/8.11.1) with ESMTP id fAGFdvf23970
for <grass-bugs at intevation.de>; Fri, 16 Nov 2001 16:39:57 +0100
Received: from artemide.itc.it (artemide [10.0.10.10])
by camelot.itc.it (8.11.3/8.11.3) with ESMTP id fAGFdtd19403
for <grass-bugs at intevation.de>; Fri, 16 Nov 2001 16:39:56 +0100 (MET)
Received: from thuille.itc.it. (thuille [10.40.0.110])
by artemide.itc.it (8.11.3/8.11.3) with ESMTP id fAGFdrE19224
for <grass-bugs at intevation.de>; Fri, 16 Nov 2001 16:39:54 +0100 (MET)
Received: (from neteler at localhost)
by thuille.itc.it. (8.11.6/8.11.2) id fAGFdqH29636
for grass-bugs at intevation.de; Fri, 16 Nov 2001 16:39:52 +0100
Resent-Message-Id: <200111161539.fAGFdqH29636 at thuille.itc.it.>
Received: from camelot.itc.it (camelot [195.223.171.5])
by artemide.itc.it (8.11.3/8.11.3) with ESMTP id fAGFMNE16738
for <neteler at itc.it>; Fri, 16 Nov 2001 16:22:25 +0100 (MET)
Received: from localhost.localdomain (h137.s30.ts32.hinet.net [163.32.30.137])
by camelot.itc.it (8.11.3/8.11.3) with ESMTP id fAGFMHd18878
for <neteler at itc.it>; Fri, 16 Nov 2001 16:22:19 +0100 (MET)
Received: by localhost.localdomain (Postfix, from userid 501)
id 824C416D3; Fri, 16 Nov 2001 15:36:14 +0800 (CST)
To: Markus Neteler <neteler at itc.it>
Subject: r.reclass and * = 0
From: Dan Jacobson <jidanni at yam.com.tw>
Reply-To: jidanni at yahoo.com.tw
Date: Fri, 16 Nov 2001 15:36:14 +0800 01:00:00 +0000 (GMT)
Message-ID: <m2bsi34175.fsf at Mdan.jacobson.tw>
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Resent-From: neteler at itc.it
Resent-Date: Fri, 16 Nov 2001 16:39:52 +0100
Resent-To: grass-bugs at intevation.de
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list