Terrain analysis
Terrain analysis runs on elevation layers. The Rust program loka-analysis computes most results from the DTED cells; slope, contours, ridges and roughness use the GDAL tools.
1. Import elevation
Section titled “1. Import elevation”- Open Elevation and press Import.
- Choose the Workspace and, if you like, a Name.
- Add Files (a ZIP,
.dt0–.dt2files or a one-band elevation GeoTIFF), or a Folder such asdted/e106/s07.dt1. Other files in the folder are skipped. - Choose 3D heights: Ellipsoid (WGS84) or Sea level (EGM96).
- Press Import. The layer shows building, then ready.
The layer’s Preview tab shows colour and hillshade, Cells lists the DTED cells, and Access has the terrain addresses (see Services and clients).
2. Open the workbench
Section titled “2. Open the workbench”Open Analysis → Workbench and pick a ready elevation layer. Pick a tool, draw or click its input on the map, set the fields and run it. Analysis → Guides explains each tool.
The workbench map is loka.gl. With a WebGPU browser you can switch it to 3D; line of sight, flight, air route, routes, profiles, camera footprints and domes then have a 3D form, and airspace coverage shows its altitude slices.
Save as a layer keeps a result as a new layer in the workspace. Without it, the result is only drawn (and kept for an hour); you can still save it afterwards. Saving needs write access.
Terrain
Section titled “Terrain”| Tool | What it gives |
|---|---|
| Profile | Heights along a line |
| Heights at points | The height at clicked points (up to 254) |
| Slope | Steepness, in degrees or percent, with your own classes; saved as a layer |
| Aspect | The direction slopes face; saved as a layer |
| Ridges and valleys | The topographic position index; saved as a layer |
| Roughness | The largest height step to the neighbouring cells; saved as a layer |
| Height bands | Height classes; saved as a layer |
| Contours | Lines of equal height, every 1 to 5,000 m (default 50); saved as a layer |
| Sun shadow | Terrain shadow for a sun azimuth and elevation; saved as a layer |
Visibility and sensors
Section titled “Visibility and sensors”| Tool | What it gives |
|---|---|
| Line of sight | Whether an observer sees a target, and what blocks it. Heights default to 2 m |
| Line of sight to many targets | Which of up to 500 targets an observer sees |
| Viewshed | The ground seen within a radius (100 m to 100 km), optionally in a sector and with a dead zone. Drawn live as you move the observer; saved as a layer |
| Visibility index | How many of up to 254 observers see each place; saved as a layer |
| Coverage (radar, radio) | The lowest height above ground that the antennas see; saved as a layer |
| Airspace coverage (3D) | The lowest altitude seen by at least N sensors, in altitude steps; saved as a layer |
| Radio coverage | The received signal level (ITM / Longley-Rice) for frequency, EIRP, climate and polarization; saved as a layer |
| Camera footprint | The ground a UAV, mast or CCTV camera sees, from height, heading, tilt and field of view |
| Weapon or sensor dome | A 3D hemisphere or sector; can be saved |
Each observer, target, antenna or transmitter can have its own height and radius (Per point under the point list).
Movement
Section titled “Movement”These use land cover and roads as well as the terrain. Choose the mover: on foot, wheeled or tracked.
| Tool | What it gives |
|---|---|
| Terrain route | The fastest way from start to end |
| Reach in time | Where the mover can get in 1 to 1,440 minutes; saved as a layer |
| Accessibility (go / no-go) | GO, SLOW GO and NO GO areas; saved as a layer |
Flight
Section titled “Flight”| Tool | What it gives |
|---|---|
| Flight clearance | The height above terrain along a route at an altitude |
| Air route | The shortest path at an altitude that stays clear of terrain |
| Corridor | A lane along a route, optionally a 3D volume; can be saved |
| Terrain warning | Terrain near or above an altitude; saved as a layer |
Grids and references
Section titled “Grids and references”| Tool | What it gives |
|---|---|
| Range rings | Circles at distances from a centre; saved as a layer |
| UTM / MGRS grid | Grid lines with labels; saved as a layer |
| MGRS references | The MGRS reference of clicked points |
Vector and raster layers
Section titled “Vector and raster layers”These work on an ordinary layer instead of terrain, and always save a new layer: Buffer, Density (heatmap), and geometry tools (points to tracks, clip, simplify, smooth, resample, great circle, offset, snap to borders, merge), plus Merge rasters.
Buildings
Section titled “Buildings”Any analysis can take a building layer into account: Loka turns the buildings into heights (5 m cells by default) and adds them to the terrain. Set it in the tool’s scene settings.
From the API
Section titled “From the API”Every tool has an endpoint under /api/v2/elevation-layers/{id}/analysis/, for example profile, line-of-sight, viewshed or radio. Profile, line of sight, heights, terrain route and MGRS references also answer a GET with a read-only API token; the others need a signed-in writer. The architecture flows show line of sight and viewshed step by step.