Loka Server

Analysis

Terrain analysis: line of sight, coverage, mobility

Ask the terrain a question and get the answer as a map layer: what can be seen, which radio or radar covers where, how far a vehicle gets, where the ground is too steep or too high. Computed on the server from the elevation you already serve.

Shaded relief between Gunung Salak and Bogor with two lines of sight from one observer: a long one north over Bogor and a short one up the volcano blocked by a ridge, coloured green where the ground is seen and red where it is hidden

Line of sight and terrain profile

Can I see that point from here, and if not, what is in the way?

Between an observer and a target, the server samples the terrain every 30 m and answers with the profile: the height at every sample, whether that ground is seen, the lowest clearance of the sight line and the first obstruction. Curvature and refraction (k = 0.13) are included.

On the map each line is coloured by the ground the observer sees along it. The answer is also available over a plain GET request, so a client can ask it while the user moves the mouse.

  • ground seen
  • ground hidden
  • sight line, dashed when blocked

In this example

Observer
on the Salak flank, 10 m above the ground
Targets
2 m above the ground
Elevation
Copernicus GLO-30 (30 m)
1302573835106370 km4 km8 km12 km16 kmm above sea level
Clear view: 16.2 km. The target is seen: the sight line stays above the ground all the way.
5578711185149918130 km2 km4 km6 kmridge, 3.1 kmm above sea level
Blocked by a ridge: 6.3 km. The sight line meets a ridge 3.1 km out, 1089 m above sea level; the target is hidden behind it.
72 lines of sight radiating 6 km from a hilltop east of Bogor, green where the ground is seen and red where it is hidden

A fan of sight lines

From this hilltop, in which directions is the view open?

Seventy-two lines of sight, one every 5°, from a post 10 m above a hilltop at about 810 m. Read along each ray: the near slopes are seen all round, but beyond the hill's own shoulder most of the ground drops out of sight, except down the open valleys. A viewshed answers the same question for every cell at once; the fan shows why.

  • ground seen
  • ground hidden

In this example

Observer
hilltop east of Bogor, 10 m above the ground
Rays
72, every 5°, 6 km long
Targets
2 m above the ground
Building footprints of central Jakarta with one line of sight from a roof in the south-west to a target in the north-east, blocked by a tower about one kilometre out

Through a city, with the buildings

Over the terrain the target is in view; is it once the towers stand on it?

The same line twice: once over the elevation alone, once with the OpenStreetMap buildings standing on it at their tagged heights (6 m where no height is tagged). Over the terrain a 40 m roof sees a point 20 m up, 3.2 km away. With the buildings, an office tower about 1.1 km out takes the view.

Any polygon layer with heights or storeys can be used, and the viewshed and coverage tools take the same buildings and vegetation.

  • ground seen
  • ground hidden

In this example

Observer
a roof 40 m above the street
Target
20 m above the street, 3.2 km away
Buildings
OpenStreetMap, height and levels tags
-25738691010 km2 kmm above sea level
Bare terrain: 3.2 km. The target is seen: the sight line stays above the ground all the way.
-25471181892600 km2 kmtower, 1.1 kmm above sea level
With the buildings: 3.2 km. The sight line meets a tower 1.1 km out, 220 m above sea level; the target is hidden behind it.

Visibility, signals, movement

One question per map

Every map below is a saved analysis in the demo workspace: a raster layer with its own colours, published like any other layer and combinable in a layer group.

Shaded terrain near Bogor with the ground seen from an observation point in green and hidden ground in red, inside range rings of 1, 5 and 10 km

Viewshed

What can be seen from this point?

The viewshed marks every cell of the terrain that a target of a given height would be seen from, from an observer standing at a given height. It answers where an observation post, a camera or a sniper sees, and where an enemy could move unseen.

Set a radius, a minimum distance, or a direction and width for a sector. The earth's curvature and refraction are taken into account. A buildings layer or vegetation can stand on the terrain so that they block the view too.

Here the post stands low on a valley side: it sees up the valley to the south-east and the slopes beyond, but almost none of the plain around it. That is the kind of answer that moves a post before anyone is sent there.

  • seen
  • hidden

In this example

Observer
106.80 E 6.60 S, 10 m above the ground
Target
2 m above the ground
Radius
10 km
Shown with
range rings at 1, 5, 10 and 20 km
Map near Bogor coloured by how many of five observation posts see each cell: red where none does, light to dark green for one to five

Visibility index

How many of my posts see each place?

Run a viewshed from every post and count them per cell. Dark green ground is watched by several posts; red ground by none: the gaps in the surveillance plan, and the approaches an intruder would take.

  • no post
  • 1
  • 2
  • 3 to 4
  • 5

In this example

Posts
five, 10 m high
Target
2 m above the ground
Radius
8 km per post
Shaded terrain around Bogor tinted by the lowest altitude at which three radars see an aircraft, mostly green with yellow behind the hills

Radar and airspace coverage

From what height is an aircraft seen?

For every place, the lowest altitude at which an aircraft is seen by at least one of the sites (or by two, three…). Low-level gaps behind hills and in valleys stand out, the corridors where a low flyer is not seen.

The answer comes as a raster and as polygons per altitude level, so the 500 m, 1,000 m and 1,500 m coverage can be published as separate layers.

  • seen near the ground
  • seen from about 1,500 m
  • seen only at 3,000 m

In this example

Sites
three radars, 20 m masts
Altitudes
0 to 3,000 m in 500 m steps
Radius
20 km
Map around Bogor coloured by received radio signal level from two VHF relays, green near the relays, yellow and red in the shadow of hills

Radio coverage

Where does a radio still get a signal?

Received signal level around one or more transmitters, from the ITS Irregular Terrain Model (Longley-Rice) over every terrain profile: frequency, antenna heights, power, polarisation, ground constants and climate all count.

Use it to place relays, to check a patrol route, or to see where a drone link drops.

  • strong, above −70 dBm
  • −85 dBm
  • −100 dBm
  • −110 dBm
  • weak, −120 dBm

In this example

Relays
two, 30 m masts, 47 dBm EIRP
Frequency
150 MHz (VHF)
Receiver
2 m above the ground
Radius
15 km
Map around Bogor coloured by travel time for a wheeled vehicle from one start point: green near the start and along roads, red at 20 minutes

Travel time

How far can a vehicle get in 20 minutes?

Time to every place from a start, for a mover on foot, wheeled or tracked. The speed model combines the slope, the land cover and the roads: fast along the road network, slower across country, stopped by steep ground and water.

The same model drives route finding between two points and the go / no-go map below.

  • start
  • 5 min
  • 10 min
  • 15 min
  • 20 min

In this example

Start
106.80 E 6.59 S
Mover
wheeled
Roads
OpenStreetMap, by highway class
Limit
20 minutes
Map near Bogor in green almost everywhere, with amber and red patches on steep valley sides and hills, and roads drawn on top

Go / no-go

Where can tracked vehicles move?

Classes the ground for a mover: go, slow go and no go, from the same speed model as travel time. Steep valley sides and the hills to the east stand out as obstacles; the plain between them is open.

  • go
  • slow go
  • no go

In this example

Area
Bogor, 15 × 15 km
Mover
tracked
Shaded terrain around Gunung Salak with an amber ring where the ground is within 150 metres below 1,000 metres and red where it rises above

Terrain warning

Where does the ground come close to my flight altitude?

For a flight altitude above sea level, the terrain that comes within a margin below it (amber) or rises above it (red). Gunung Salak and the hills to the east break through 1,000 m; the plain is clear.

  • within 150 m below
  • above the altitude

In this example

Altitude
1,000 m above sea level
Margin
150 m

In 3D

The same answers on the terrain

Every analysis layer is an ordinary WMS layer, so a 3D client drapes it over the terrain the server also serves (quantized-mesh). These views are CesiumJS on the demo server, heights exaggerated 1.5 times.

3D Jakarta with a line of sight from a roof blocked by a tower
Line of sight through the cityThe rooftop line from Jakarta: green to the tower that cuts it, dashed red behind it to the target.
3D view of Gunung Salak with an observer on its flank and two lines of sight, one up the volcano and one across the plain
Line of sightFrom the observer on the Salak flank: the blocked line climbs the volcano, the clear one runs north over Bogor.
3D view of a red viewshed disk on the terrain with green bands of visible ground along a valley
ViewshedThe 10 km disk around the post: seen ground in green runs up the valley, the rest is hidden.
3D view of radio coverage around two relays, green on the plain and yellow to red behind hills
Radio coverageTwo relays on 30 m masts: strong signal across the plain, weaker in the shadow of the hills.
3D view of Gunung Salak with a translucent blue plane at 1,000 metres, the summit above it in red and a band just below in amber
Terrain warningA flight level at 1,000 m in blue: Gunung Salak breaks through it (red), the ring below it is within 150 m (amber).
3D view from Bogor towards Gunung Salak
The terrain itselfCopernicus GLO-30 as 3D terrain, from Bogor towards Gunung Salak; the base for every view above.

Terrain shape

Reading the ground itself

Derived straight from the elevation, for planning, briefings and as inputs to the tools above.

Ridges in brown and valleys in blue around Bogor
Ridges and valleysTopographic position: brown where the ground stands above its neighbours (ridges, peaks), blue where it lies below (valleys).
Height bands from green lowland to brown on Gunung Salak
Height bandsHeights in classes at 200, 300, 500, 800, 1,200, 1,600 and 2,000 m, from green to brown.
Long blue shadows cast east of the Gunung Salak summit
Sun shadowGround in the shadow of the sun at azimuth 260° and 12° above the horizon: late afternoon on Gunung Salak.
Slope around Bogor from grey to red
SlopeSlope in degrees: flat ground grey, steep valley sides and volcano flanks yellow to red.

More tools

Also in the workbench

Route and air route

The fastest way between two points for a mover, or a flight path with its clearance above the terrain at every sample.

Contours, aspect, roughness

Contour lines at any interval, the direction slopes face, and how rough the ground is.

Range rings and grids

Distance rings around a point; UTM and MGRS grid lines, and MGRS references for points.

3D volumes

Weapon or sensor domes, full or as a sector, and flight corridors with floor and ceiling, as 3D layers.

Vector tools

Buffers, density, points to tracks, clip, simplify, smooth, snap and merge on any vector layer.

Heights and profiles

Ground heights at a list of points, and the terrain profile along any line.

How to

Three steps to a result

  1. Choose a toolOpen the analysis workbench on an elevation layer and pick the question.
  2. Place and setClick the observer, sites or start on the map; set heights, radius, frequency or mover.
  3. SavePreview the result, then save it as a styled layer, ready to publish, or open the workspace in CesiumJS to see it on the 3D terrain and measure lines of sight by clicking.

Good to know

Notes and limits

Results follow the resolution of the elevation data: 30 m cells for Copernicus GLO-30, finer with DTED level 2 or your own survey.

By default the analyses see the bare ground. Add a buildings layer or vegetation to let them block the view, or use a surface model.

Radio coverage is a model (Longley-Rice), not a measurement: use it to plan, then verify in the field.