[GRASS-dev] bug in v.surf.bspline?
Hamish
hamish_nospam at yahoo.com
Sun Oct 21 19:31:43 EDT 2007
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
More information about the grass-dev
mailing list