mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
Simplify per review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
This commit is contained in:
parent
1d845c8a6c
commit
d9fd2a98be
@ -4,7 +4,7 @@
|
|||||||
"groups": ["GeometryGroup"],
|
"groups": ["GeometryGroup"],
|
||||||
"description": "Returns the sinuosity of a curve, which is the ratio of the curve length to the straight (2D) distance between its endpoints.",
|
"description": "Returns the sinuosity of a curve, which is the ratio of the curve length to the straight (2D) distance between its endpoints.",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{"arg":"geometry", "description": "Curve (circularstring, linestring) whose sinuosity to evaluate"}
|
{"arg":"geometry", "description": "Input curve (circularstring, linestring)"}
|
||||||
],
|
],
|
||||||
"examples": [
|
"examples": [
|
||||||
{ "expression":"round(sinuosity(geom_from_wkt('LINESTRING(2 0, 2 2, 3 2, 3 3)')), 3)", "returns":"1.265"},
|
{ "expression":"round(sinuosity(geom_from_wkt('LINESTRING(2 0, 2 2, 3 2, 3 3)')), 3)", "returns":"1.265"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user