Note: This document is for an older version of GRASS GIS that has been discontinued. You should upgrade, and read the current manual page.

GRASS logo

NAME

v.surf.rst.cv - Performs cross-validation proceedure to optimize the parameterization of v.surf.rst tension and smoothing paramters.

KEYWORDS

raster, surface, interpolation, cross-validation, rst, json

SYNOPSIS

v.surf.rst.cv
v.surf.rst.cv --help
v.surf.rst.cv point_cloud=name [mask=name] [tension=integer[,integer,...]] [smooth=float[,float,...]] [layer=string] [zcolumn=name] [where=sql_query] [segmax=integer] [dmin=float] [dmax=float] [zscale=float] [theta=float] [scalex=float] [cv_prefix=string] [output_file=name] [format=string] [nprocs=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

point_cloud=name [required]
Name of the input point cloud vector map
Name of the input point cloud vector map
mask=name
Mask raster map
Name of the mask raster map
tension=integer[,integer,...]
Tension parameter for cross-validation
Default: 10, 20, 40, 60, 80, 100
smooth=float[,float,...]
Smoothing parameter for cross-validation
Default: 0.01, 0.1, 0.5, 1.0, 5.0, 10.0
layer=string
Layer number or name
Vector features can have category values in different layers. This number determines which layer to use. When used with direct OGR access this is the layer name.
Default: 1
zcolumn=name
Name of the attribute column with values to be used for approximation
If not given and input is 2D vector map then category values are used. If input is 3D vector map then z-coordinates are used.
where=sql_query
WHERE conditions of SQL statement without 'where' keyword
Example: elevation < 500 and elevation >= 1
segmax=integer
Maximum number of points in segment
Default: 40
dmin=float
Minimum distance between points
Default: 0.0
dmax=float
Maximum distance between points on isoline (to insert additional points)
Default: 0.0
zscale=float
Conversion factor for values used for approximation
Default: 1.0
theta=float
Anisotropy angle (in degrees counterclockwise from East)
scalex=float
Anisotropy scaling factor
cv_prefix=string
Prefix to use for cross-validation output maps
Prefix to use for cross-validation output cross-validation errors vector point map. Value must be set to save the cross-validation errors to a vector maps.
output_file=name
Output file
Output file for the results (default: None) json or csv
format=string
Output format
Output format for the results
Options: json, text
nprocs=integer
Number of threads for parallel computing
Default: 1

Table of contents

Description

v.surf.rst.cv - Cross-validation of regularized spline with tension (RST) surface model. Predictive error of surface approximation for given parameters are computed and a cross-validation procedure is then performed using the data given in the vector map input. The estimated predictive errors are stored in the optionally saved vector point map cvdev. For larger data sets, CV should be applied to a representative subset of the data. The cross-validation procedure works well only for well-sampled phenomena and when minimizing the predictive error is the goal. The parameters found by minimizing the predictive (CV) error may not not be the best for for poorly sampled phenomena (result could be strongly smoothed with lost details and fluctuations) or when significant noise is present that needs to be smoothed out.

EXAMPLES

        v.surf.rst.cv point_cloud=lidar
    

REFERENCES

SEE ALSO

v.surf.rst,

AUTHORS

Corey T. White NCSU GeoForAll Lab

SOURCE CODE

Available at: v.surf.rst.cv source code (history)

Latest change: Saturday Apr 05 13:02:33 2025 in commit: cafc53f49233dd09433ffc7ae8597416b1f0a920


Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual