[GRASS-user] How to crop away NODATA margins

Markus Metz markus.metz.giswork at googlemail.com
Sat Sep 26 04:29:12 EDT 2009


Hermann Peifer wrote:
> Hi,
>
> I see that d.out.file has a switch: -m  (Do NOT crop away margins). So 
> I assume that by default, white margins are auto-cropped.
>
> What I am  looking for is some sort of auto-crop feature which I could 
> use with r.out.gdal, in order to get rid of abundant NODATA margins in 
> raster layers.
g.region zoom=<myrast> align=<myrast> ?

Markus M


More information about the grass-user mailing list