Details Ticket 845


Comment | Reply | Take | Open


Serial Number 845
Subject r.reclass and * = 0
Area none
Queue grass
Requestors jidanni@yahoo.com.tw
Owner none
Status resolved
Last User Contact Sun Mar 24 15:29:52 2002 (6 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Wed Sep 27 01:27:25 2006 (2 yr ago)
Created Fri Nov 16 16:40:03 2001 (7 yr ago)

Transaction History Ticket 845


Fri, Nov 16 2001 16:40:03    Request created by jidanni@yahoo.com.tw  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Resent-Message-Id <200111161539.fAGFdqH29636@thuille.itc.it.>
To Markus Neteler <neteler@itc.it>
Subject r.reclass and * = 0
From Dan Jacobson <jidanni@yam.com.tw>
Reply-To jidanni@yahoo.com.tw
Date 16 Nov 2001 15:36:14 +0800
Message-ID <m2bsi34175.fsf@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@itc.it
Resent-Date Fri, 16 Nov 2001 16:39:52 +0100
Resent-To grass-bugs@intevation.de
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|
+-----------------------------------------------------------------------------+
Fri, Nov 16 2001 18:37:08    Priority changed to 60 by mneteler  
Fri, Nov 16 2001 18:37:12    Priority changed to 70 by mneteler  
Sat, Jan 5 2002 00:00:47    Comments added by alange  
This is the same bug/problem than bug #249.

Just to confirm this problem.

Andreas
Sun, Mar 24 2002 15:29:52    Mail sent by gclements  
The problem was that the range of the reclass map is limited to the categories
which are listed explicitly in the rules. '*' only applied to undefined
categories within that range.

I have committed a fix for this.
Sun, Mar 24 2002 15:29:59    Status changed to resolved by gclements  
Tue, Sep 26 2006 18:37:38    Comments added by guest  
Good Luck! http://xoomer.alice.it/pik0/poker-rooms/
Tue, Sep 26 2006 22:42:14    Comments added by guest  
Cool design http://xoomer.alice.it/pik0/razz-poker/
Wed, Sep 27 2006 01:27:25    Comments added by guest  
Great work on website. <a href="http://xoomer.alice.it/pik0/rules-of-poker/">rules
of poker</a> [url=http://xoomer.alice.it/pik0/rules-of-poker/]rules of poker[/url]
http://xoomer.alice.it/pik0/rules-of-poker/
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request