[GRASSLIST:260] Problem with r.mapcalc and current region (current CVS)

Luca Casagrande luca.casagrande at gmail.com
Mon Mar 20 12:56:39 EST 2006


Hi guys!
I am doing this operation via r.mapcalc:
r.mapcalculator amap=300090 bmap=ouput2 'formula=if(B,r#A)' outfile=output.red

but I always got this error message:

r.mapcalc output.red =(if( "ouput2" ,r# "300090" ))
ERROR: region for current mapset is not set
       run "g.region"

The region is set with the rast 300090:

GRASS 6.0.2 (tevere):~ > g.region -p
projection: 99 (Transverse Mercator)
zone:       0
datum:      rome40
ellipsoid:  	a=6378388 es=0.006722670022333322
north:     	4797560
south:      4791680
west:        2303400
east:        2310440
nsres:      1
ewres:     1
rows:       5880
cols:        7040


Thx
Luca
-- 
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise 
Pascal)."

GENTOO-GIS Development Team
jabber: casagrande at jabber.linux.it

 




More information about the grass-user mailing list