Package-level declarations
Types
The result of a sweep.
Runs a real coverage prediction end to end and writes a PNG plus the GeoJSON the app imports.
Received signal strength on a regular lat/lon grid.
The color ramps the Site Planner's Display section offers, by the names it uses.
One sampled receiver position and the signal predicted there.
How a CoverageGrid is drawn: the form's Display section.
Elevation above mean sea level, meters. Backed by Mapterhorn tiles in the app; trivially fakeable in tests.
RF coverage computed on the device from org.meshtastic:kp1812 (ITU-R P.1812) and an ElevationSource. It works offline once terrain is cached. P.1812 is a different model from the hosted planner's SPLAT! ITM, so predictions don't match it pixel for pixel.
Real elevation from the same Mapterhorn terrain the map already uses for hillshade and contours.
A downloaded map region's terrain: its tiles, and the ground it was downloaded for.
The transmitter and the radio configuration to model.
Functions
Great-circle destination from a start point along bearingDeg for distanceKm.
Computes a Site Planner estimate on this device: Mapterhorn terrain for the coverage disc, cached under store, then the ITU-R P.1812 sweep, returned as the styled GeoJSON iso-bands a map layer takes.
estimateCoverageGeoJson bound to the coverage compute dispatcher and its coverage terrain cache, falling back to offlineTerrain when offline.
Compute coverage onto a regular grid centered on site.
Sweep coverage in polar form, one shared terrain profile per bearing.
The coverage as GeoJSON polygons with simplestyle-spec fills: what the map draws as a layer.
Resample the polar lattice onto the regular grid the contour tracer needs.