[GRASS-user] How to Import and Export Maps Using Grass

Markus Neteler neteler at osgeo.org
Sat Jan 16 18:19:11 EST 2010

On Sat, Jan 16, 2010 at 3:46 PM, David Benman <dave at dbenman.com> wrote:
> I am programming a flight simulator and need to create landscape imagery. I
> have downloaded the New York State orthoimagery available at
> http://www.nysgis.state.ny.us/gateway/mg/2006/onondaga/
> I now need to combine several image tiles into one,

This would be the r.patch command:

g.region rast=map1,map2,map3[,map4...] -p
r.patch input=map1,map2,map3[,map4...] output=hugemap

> reduce their resulting size

That's r.resamp.stats - Resamples raster map layers to a coarser grid
using aggregation.

g.region res=xx
# with xx a number which is the destination pixel resolution
r.resamp.stats input=hugemap output=hugemap_lowres

Then export (e.g. GeoTIFF):
r.out.gdal input=hugemap_lowres output=hugemap_lowres.tif

>, etc. How can I do this with Grass? I have never used Grass, but hope
> somebody could point me to some applicable tutorials or outline the major
> steps.

Hope above gives an indication. Otherwise there is material here to read:


More information about the grass-user mailing list