Re: [GRASS-user] Creating a coordinate image?

2011-05-18 Thread Glynn Clements

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 gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Creating a coordinate image?

2011-05-17 Thread Jonathan Greenberg
Folks:

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.

--j

-- 
Jonathan A. Greenberg, PhD
Assistant Project Scientist
Center for Spatial Technologies and Remote Sensing (CSTARS)
Department of Land, Air and Water Resources
University of California, Davis
One Shields Avenue
Davis, CA 95616
Phone: 415-763-5476
AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user