On 21/06/17 16:17, Luí­s Moreira de Sousa wrote:
Dear all,

I would like to know how to use a mask with the v.surf.idw module. I
have tried using r.mask with both raster and vector maps, but v.surf.idw
always produces a surface encompassing the entire region [0].

Is there any other way of forcing this module to operate within an area
of interest?


As explained in [1]: "Raster input maps are automatically masked if a raster map named MASK exists. The MASK is only applied when reading maps from the disk."

This means that the output of v.surf.idw will always cover the entire computational region. If you want to create a map with null values outside the mask, you can use r.mapcalc "masked_map = interpolated_map" while the mask is active.

Moritz



[1] https://grass.osgeo.org/grass72/manuals/rasterintro.html

Thank you.

[0] https://gis.stackexchange.com/questions/244097/v-surf-idw-ignores-mask

--
Luís Moreira de Sousa
Im Grund 6
CH-8600 Dübendorf
Switzerland

Phone: +41 (0)79 812 62 65
Email: luis.de.so...@protonmail.ch <mailto:luis.de.so...@protonmail.ch>
URL: https://sites.google.com/site/luismoreiradesousa




_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user



_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to