st_area
How PostGIS runs Measure Area: st_area.
| Engine | PostGIS |
|---|---|
| Tool name | st_area |
| Interface | sql |
| Implements | Measure Area |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
geog | geography | no | Not stated | Not stated | Not stated |
use_spheroid | boolean | no | true | Not stated | Not stated |
SQL overloads
-
st_area(geog geography, use_spheroid boolean DEFAULT true) → double precision -
st_area(geometry) → double precision -
st_area(text) → double precision
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | #1 | Not stated |
unit | Not stated | always crs-units. Square CRS units (square metres in a metric CRS); convert afterwards for other units. |
Differences from the operation
- On geography, square metres on the spheroid (use_spheroid).
Harvested by the postgis harvester from engine version
3.7.0. Names can change when an engine is harvested again.