[GRASS-dev] bug in v.surf.bspline?
Michael Barton
michael.barton at asu.edu
Sun Oct 21 20:53:03 EDT 2007
OK. I see. Because r.surf.bspline is reading a vector, rather than a raster,
it doesn't respect a mask.
...but it would be nice if it did, at least optionally.
Michael
On 10/21/07 4:31 PM, "Hamish" <hamish_nospam at yahoo.com> wrote:
> Michael Barton wrote:
>
>> Also, in both cases the interpolation does not respect a MASK.
>
>
> It is not expected to. The MASK is put into action only when *reading* a
> raster
> map, not when creating/writing one.
>
>
> e.g.
> r.mapcalc MASK=fields
> r.mapcalc one=1
> g.remove MASK
> r.univar one
> # look, no NULL cells
>
> r.mapcalc MASK=fields
> r.mapcalc one_masked=one
> g.remove MASK
> r.univar one_masked
> # lots of null cells, as the "one" map was masked while being read
>
>
> If you don't remove MASK, r.univar (libgis) adds in nulls when it reads the
> maps.
>
>
> Hamish
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list