v.median
Return the barycenter of a cloud of point.
v.median input=name [output=string] [--verbose] [--quiet] [--qq] [--ui]
Example:
v.median input=name
grass.script.run_command("v.median", input, output="-", verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("v.median", input="name")
Parameters
input=name [required]
Name of vector map to pack up
output=string
Name for output file ('-' for standard output)
Default: -
--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 vector map to pack up
Used as: input, vector, name
output : str, optional
Name for output file ('-' for standard output)
Used as: output
Default: -
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.median create the median point of a cloud of point.
EXAMPLE
Return the median point to the standard output
v.median input=random_point
12.588035|42.664944
Create a vector with the median point
v.median input=random_point output=median_random_point
AUTHORS
Luca Delucchi, Fondazione E. Mach (Italy)
SOURCE CODE
Available at: v.median source code
(history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819