terrain_viewshed
Determine if an observer can see a target at two locations using terrain elevation along the path. Input coordinates and observer/target heights.
Instructions
Line of sight analysis between two points. Determines if an observer at point A can see a target at point B, considering terrain elevation along the path.
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": {
"lat1": "<lat1>",
"lng1": "<lng1>",
"lat2": "<lat2>",
"lng2": "<lng2>"
},
"name": "terrain_viewshed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h1 | No | Observer height above ground in meters (default 2) | |
| h2 | No | Target height above ground in meters (default 0) | |
| lat1 | Yes | Observer latitude in decimal degrees | |
| lat2 | Yes | Target latitude in decimal degrees | |
| lng1 | Yes | Observer longitude in decimal degrees | |
| lng2 | Yes | Target longitude in decimal degrees |