[GRASS-dev] r.shrink??

Michael Barton Michael.Barton at asu.edu
Thu May 27 00:37:48 EDT 2010


OK. Thanks. It would still be nice to have an "r.shrink" like r.grow

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 	480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu










On May 26, 2010, at 9:35 PM, Jarek Jasiewicz wrote:

>>>> ------------------------------------------------------------------------
>>>> 
>>>> _______________________________________________
>>>> grass-dev mailing list
>>>> grass-dev at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>> 
>>> for that I use following mapcalc expression:
>>> 
>>> echo 'map=if(  isnull(map[-1,-1])||isnull(map[-1,0])|| \
>>> isnull(map[-1,1])||isnull(map[0,-1])|| \
>>> isnull(map[0,1])||isnull(map[1,-1])||isnull(map[1,0])|| \
>>> isnull(map[1,1]), map,null())'| r.mapcalc
>>> 
>>> this work for me
>>> Jarek
>>> 
>>> 
>>> 
> not only:
> ...map[-1,1]==0... or any other background
> 
> J.



More information about the grass-dev mailing list