Shift a terrain from ellipsoid to EGM2008 heights
convert_terrain_datumMake a copy of a terrain shifted from ellipsoid heights to EGM2008 (sea-level) heights.
Instructions
Make a copy of a terrain shifted from ellipsoid heights to EGM2008 (sea-level) heights.
Use it only when the user says the terrain's heights are on the ellipsoid (raw GPS or satellite
heights). The original terrain is kept unchanged; the copy is a new terrain the scenarios can use.
For a GeoTIFF you are still uploading, pass convert_to_egm2008=True to finalize_terrain_upload instead.
Hydrata refuses a terrain on AHD or already on EGM2008 (it would be shifted twice): that comes back
as outcome: refused with Hydrata's words. A terrain converted before returns the existing copy
(outcome: already_converted). The copy takes minutes: wait on it with get_terrain(project_id,
terrain_id=).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"terrain_id": "<terrain_id>"
},
"name": "convert_terrain_datum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID (the key needs Contributor rights; a launch-level key since the shift can start AWS Batch) | |
| terrain_id | Yes | The terrain whose heights are on the ellipsoid (get_terrain) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||