User Tools

Site Tools


lovergine:geotricks

This is an old revision of the document!


Geotricks

This page is dedicated to sparse and casual tricks with some common GFOSS tools.

Merging multiple Geotiff bands

This command works with relatively recent Gdal versions:

gdal_merge.py -o multiband.tif -separate band1.tif band2.tif band3.tif

Changing raster resolution in Grass

Just use the builtin computing region facility:

g.region rast=original_map -p
g.region res=<new>
r.mapcalc "new_map=original_map"

The same trick can be used to cut a portion of the original map, apply a mask and so on.

lovergine/geotricks.1302337499.txt.gz · Last modified: 2011/04/09 10:24 by frankie