v.concave.hull
Creates a concave hull around points.
v.concave.hull input=name output=name [threshold=float] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
v.concave.hull input=name output=name
grass.script.run_command("v.concave.hull", input, output, threshold=7, overwrite=False, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("v.concave.hull", input="name", output="name")
Parameters
input=name [required]
Input points
Or data source for direct OGR access
output=name [required]
Name for output vector map
threshold=float
Lower values make the hull more concave
Allowed values: 0-10
Default: 7
--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
Input points
Or data source for direct OGR access
Used as: input, vector, name
output : str, required
Name for output vector map
Used as: output, vector, name
threshold : float, optional
Lower values make the hull more concave
Allowed values: 0-10
Default: 7
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.concave.hull creates a concave hull around points. Contrary to a convex hull, a concave hull can describe the shape of a point cloud.
EXAMPLES
Creating a convex and a concave hull
Creating a convex and a concave hull around schools_wake in the North Carolina sample dataset:
v.hull in=schools_wake out=schools_wake_convex
v.concave.hull in=schools_wake out=schools_wake_concave
Convex hull around schools:
Concave hull around schools:
Creating Alpha shapes
Alpha shapes around points (left: threshold=8; right: threshold=0.5):
SEE ALSO
AUTHOR
Markus Metz
SOURCE CODE
Available at: v.concave.hull source code
(history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819