mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
10 lines
661 B
Plaintext
10 lines
661 B
Plaintext
{
|
|
"name": "area",
|
|
"type": "function",
|
|
"groups": ["GeometryGroup"],
|
|
"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"}]
|
|
}
|
|
|