GRASS logo

NAME

v.ellipse - Computes the best-fitting ellipse for given vector data.

KEYWORDS

vector, geometry, best-fitting ellipse

SYNOPSIS

v.ellipse
v.ellipse --help
v.ellipse input=name output=name [step=float] [--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:

input=name [required]
Name of input vector map
Or data source for direct OGR access
output=name [required]
Name for output vector map
step=float
Step size in degrees
Default: 4

Table of contents

DESCRIPTION

v.ellipse computes the best-fitting ellipse for input vector map and creates new output vector map with ellipse. Input vector data might be 2D points, lines, or areas.

Fig: Fitting ellipse created with v.ellipse
The parameters of ellipse are printed on output if --verbose flag is given.

EXAMPLE

Example of v.ellipse created around set of points (using data points_of_interest, North Carolina sample data set). Ellipse is is approximated by linestring with point distance 1 degree (step).
v.ellipse input=points_of_interest output=ellipse step=1

REFERENCES

SEE ALSO

v.hull

AUTHOR

Tereza Fiedlerova, OSGeoREL, Czech Technical University in Prague, Czech Republic

SOURCE CODE

Available at: v.ellipse source code (history)

Latest change: Monday Jan 30 19:49:11 2023 in commit: 5fb6b1a969e72db28df78483d3360b15a17f0c68


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

© 2003-2023 GRASS Development Team, GRASS GIS 8.2.2dev Reference Manual