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
630 B
Plaintext
9 lines
630 B
Plaintext
{
|
|
"name": "area",
|
|
"type": "function",
|
|
"description": "Returns the area of a geometry polygon object. Calculations are always planimetric in the Spatial Reference System (SRS) of this geometry, and the units of the returned area will match the units for the SRS. This differs from the calculations performed by the $area function, which will perform ellipsoidal calculations based on the project's ellipsoid and area unit settings.",
|
|
"arguments": [ {"arg":"geometry","description":"polygon geometry object"}],
|
|
"examples": [ { "expression":"area(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))", "returns":"8.0"}]
|
|
}
|
|
|