[GRASS-user] r.mapcalc generates one pixel map

Glynn Clements glynn at gclements.plus.com
Mon Dec 31 19:19:40 PST 2012


Gökçen Güner wrote:

> I'm a GIS student and in my project I need to generate vegetation indexes.
> I've generated it succesfully yesterday using both python2.7 and grass gui
> .I'm using WinGRASS-6.5.svn-r54428-453 on Win7. Today -I don't know why-
> grass started to generate 1 pixel NDVI map.

The map generated by r.mapcalc (and by most r.* commands) has the
bounds and resolution of the current region. Use g.region to set the
region to something more appropriate.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list