[GRASS-user] Creating a "coordinate" image?

Glynn Clements glynn at gclements.plus.com
Wed May 18 04:33:14 EDT 2011


Jonathan Greenberg wrote:

> Is there any way to take a GRASS raster and generate two outputs where
> each pixel is the center coordinate of that pixel (e.g. you will have
> one x- image and one y-image)?  I'm trying to produce a "latitude map"
> for solar calculations.

	r.mapcalc 'xmap = x() ; ymap = y()'

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


More information about the grass-user mailing list