[GRASS-dev] shrink region to non-null pixels
Markus Neteler
neteler at osgeo.org
Tue Apr 20 02:33:38 EDT 2010
On Tue, Apr 20, 2010 at 8:24 AM, Yann Chemin <yann.chemin at gmail.com> wrote:
> Hello list,
>
> After extracting features from an image, I would like to shrink the
> computational region only to the smallest area including non-null
> pixels.
Try:
g.region -h
zoom Shrink region until it meets non-NULL data from this raster map
So:
g.region zoom=yourmap -p
Please pay attention to the resolution etc. (so -p is suggested).
Markus
More information about the grass-dev
mailing list