mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
...which better clarify how project ellipsoid and unit settings are respected by the functions
9 lines
537 B
Plaintext
9 lines
537 B
Plaintext
{
|
|
"name": "$length",
|
|
"type": "function",
|
|
"description": "Returns the length of a linestring. If you need the length of a border of a polygon, use $perimeter instead. The length calculated by this function respects both the current project's ellipsoid setting and distance unit settings. Eg, if an ellipsoid has been set for the project then the calculated length will be ellipsoidal, and if no ellipsoid is set then the calculated length will be planimetric.",
|
|
"examples": [
|
|
{ "expression":"$length", "returns":"42.4711"}
|
|
]
|
|
}
|