Details Ticket 4022


Comment | Reply | Take | Open


Serial Number 4022
Subject problem with r.shaded.relief
Area grass6
Queue grass
Requestors M.Laloux@mrw.wallonie.be
Owner none
Status resolved
Last User Contact Wed Mar 1 10:22:04 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon May 15 15:24:44 2006 (2 yr ago)
Created Fri Jan 20 09:45:18 2006 (3 yr ago)

Transaction History Ticket 4022


Fri, Jan 20 2006 09:45:18    Request created by guest  
Subject: problem with r.shaded.relief

Platform: Mac OSX
grass obtained from: Other (CDROM etc)
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 060407

 problem with the last version of Grass6.1cvs of 7 january (http://wwwamb.bologna.enea.it/forgrass/i
ndex.htm),
particularly with r.shade.relief :



"r.shaded.relief map=dempierre shadedmap=dempierreshaded50 altitude=50 azimuth=270
zmult=4 scale=1 

Calculating shading, please stand by.

/Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/scripts/r.shaded.relief:
line 186:  4287 Bus error               r.mapcalc  <<EOF
$ELEVSHADE = eval( \\
 x=($zmult*$elev[-1,-1] + 2*$zmult*$elev[0,-1] + $zmult*$elev[1,-1] \\
   -$zmult*$elev[-1,1] - 2*$zmult*$elev[0,1] - $zmult*$elev[1,1])/(8.*ewres()*$scale)
, \\
 y=($zmult*$elev[-1,-1] + 2*$zmult*$elev[-1,0] + $zmult*$elev[-1,1] \\
   -$zmult*$elev[1,-1] - 2*$zmult*$elev[1,0] - $zmult*$elev[1,1])/(8.*nsres()*$scale)
, \\
 slope=90.-atan(sqrt(x*x + y*y)), \\
 a=round(atan(x,y)), \\
 a=if(isnull(a),1,a), \\
 aspect=if(x!=0||y!=0,if(a,a,360.)), \\
 cang = sin($alt)*sin(slope) + cos($alt)*cos(slope) * cos($az-aspect), \\
 if(cang < 0.,0.,100.*cang), \\
 if(isnull(cang), null(), 100.*cang))
EOF

ERROR: dempierreshaded50 - map not found

Shaded relief map created and named [dempierreshaded50]"

.
Fri, Jan 20 2006 11:24:59    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 20 Jan 2006 23:24:45 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #4022] (grass) problem with r.shaded.relief
Message-Id <20060120232445.4fcb6213.hamish_nospam@yahoo.com>
In-Reply-To <20060120084518.263431005C6@lists.intevation.de>
References <20060120084518.263431005C6@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4022
> ---------------------------------------------------------------------
> 
> Subject: problem with r.shaded.relief
...
> d.relief: line 186:  4287 Bus error               r.mapcalc  <<EOF


The error is actually in r.mapcalc.

It was (probably) spotted & fixed two days ago. Please update r.mapcalc
to the latest CVS and try again.

cd raster/r.mapcalc
cvs update -dP
make



Hamish


Fri, Jan 20 2006 21:49:56    Mail sent by msieczka  
And please let us know if we can close this report or if the bug remains!

Maciek
Mon, Jan 23 2006 09:37:47    Mail sent by guest  
I can't repare the bug myself because i use app from L. Moretti (maccos x)

M.Laloux
Tue, Feb 28 2006 23:18:53    Mail sent by mneteler  
Lorenzo,

may we ask you to notify the list/requestor once the
indicated problem is solved (i.e, a new binary is packaged)?

Thanks

 Markus
Wed, Mar 1 2006 10:22:04    Mail sent by lorenzo.moretti@bologna.enea.it  
Return-Path <lorenzo.moretti@bologna.enea.it>
Delivered-To grass-bugs@lists.intevation.de
Mime-Version 1.0
Message-Id <a06230900c02b17c54bdf@[192.107.62.86]>
In-Reply-To <20060228221853.39D231005D3@lists.intevation.de>
References <20060228221853.39D231005D3@lists.intevation.de>
Date Wed, 1 Mar 2006 10:21:53 +0100
To Markus Neteler via RT <grass-bugs@intevation.de>
From Lorenzo Moretti <lorenzo.moretti@bologna.enea.it>
Subject Re: [bug #4022] (grass) problem with r.shaded.relief
Content-Type text/plain; charset="us-ascii" ; format="flowed"
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Hi Markus

>Lorenzo,
>
>may we ask you to notify the list/requestor once the
>indicated problem is solved (i.e, a new binary is packaged)?
>
>Thanks
>
>  Markus
>

BUG 4022 is resolved for me with new cvs version (060121 or higher).

Bye

-- 
__________________________________________________________________________
||      Lorenzo Moretti        e-mail: lorenzo.moretti@bologna.enea.it     
||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
ENEA - Ente Nazionale per le Nuove Tecnologie, l'Energia e l'Ambiente
ENEA - The Italian Agency for New Technologies, Energy and the Environment
__________________________________________________________________________


Mon, May 15 2006 15:24:44    Status changed to resolved by mneteler  
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