Computes the volumes of earth to remove (cut) and to add (fill) to level an area to a target elevation, from a digital elevation model (DEM).
Required role: ORG_VIEWER, and the current user must have the VIEW permission on the data source. The organization path parameter must be the organization of the access token.
Digital elevation model (DEM)
The data source must be a raster data source with one band of elevations (a DEM), and READY (400 otherwise). Elevations are in the units of the DEM, usually meters.
Fields
| Field | Required | Description |
|---|---|---|
targetElevation | Yes | The elevation to level the area to, in the units of the DEM |
cutline | Yes | The area: geometry, a GeoJSON Polygon, and its crs (default EPSG:4326), such as { "type": "name", "properties": { "name": "EPSG:3857" } } or { "type": "EPSG", "properties": { "code": 3857 } } |
The polygon must be completely inside the DEM, and its pixels must all have a value: otherwise the request returns 400, with the extent of the DEM in the message.
Response
| Field | Content |
|---|---|
cut | Volume above targetElevation, to remove |
fill | Volume below targetElevation, to add |
net | fill - cut: positive when earth must be added overall |
Volumes are in cubic meters when the elevations are in meters: each pixel whose center is in the polygon counts for its area on the ground (in square meters) times its difference with targetElevation.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||