Skip to content

v.vol.idw

Interpolates point data to a 3D raster map using Inverse Distance Weighting (IDW) algorithm.

v.vol.idw input=name [layer=string] output=name column=name npoints=count [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

v.vol.idw input=name output=name column=name npoints=12

grass.script.run_command("v.vol.idw", input, layer="1", output, column, npoints=12, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("v.vol.idw", input="name", output="name", column="name", npoints=12)

Parameters

input=name [required]
    Name of input 3D vector points map
layer=string
    Number of vector layer field attribute to use for calculation
    Default: 1
output=name [required]
    Name for output 3D raster map
column=name [required]
    Name of attribute column (data type must be numeric)
npoints=count [required]
    Number of interpolation points
    Default: 12
--overwrite
    Allow output files to overwrite existing files
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

input : str, required
    Name of input 3D vector points map
    Used as: input, vector, name
layer : str, optional
    Number of vector layer field attribute to use for calculation
    Used as: input, layer
    Default: 1
output : str, required
    Name for output 3D raster map
    Used as: output, raster_3d, name
column : str, required
    Name of attribute column (data type must be numeric)
    Used as: input, dbcolumn, name
npoints : int, required
    Number of interpolation points
    Used as: count
    Default: 12
overwrite: bool, optional
    Allow output files to overwrite existing files
    Default: False
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

v.vol.idw fills a RASTER3D raster volume matrix with interpolated values generated from a set of irregularly spaced data points using numerical approximation (weighted averaging) techniques. The interpolated value of a tile is determined by values of nearby data points and the distance of the cell from those input points. In comparison with other methods, numerical approximation allows representation of more complex volumes (particularly those with anomalous features), restricts the spatial influence of any errors, and generates the interpolated volume from the data points.

EXAMPLE

v.vol.idw input=map output=rastermap3d column=col_name npoints=36

SEE ALSO

g.region, v.in.ascii, v.in.db, v.surf.idw, v.vol.rst, v.to.rast3

AUTHOR

Jaro Hofierka, Department of Geography and Regional Development, University of Presov, Presov, Slovakia, hofierka@geomodel.sk

Modifications for raster3d library and vector format:
Noortheen Raja J, Institute of Remote Sensing, College of Engineering, Guindy, Anna University, India. jnoortheen@gmail.com

SOURCE CODE

Available at: v.vol.idw source code (history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819