CoverageGrid

class CoverageGrid(val site: Site, val width: Int, val height: Int, val north: Double, val south: Double, val east: Double, val west: Double, val dbm: DoubleArray)(source)

Received signal strength on a regular lat/lon grid.

Coverage is drawn as filled iso-bands, which need a regular grid. Polar samples exported as GeoJSON Point features would be clustered by the map and render as a swarm of identical node markers.

NaN marks a cell that was not computed.

Constructors

Link copied to clipboard
constructor(site: Site, width: Int, height: Int, north: Double, south: Double, east: Double, west: Double, dbm: DoubleArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard

Greatest distance from the site at which any cell is reachable, km.

Link copied to clipboard
Link copied to clipboard

Fraction of computed cells at or above the receiver's sensitivity.

Link copied to clipboard
val site: Site
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
fun at(x: Int, y: Int): Double
Link copied to clipboard

Latitude of grid row y; row 0 is north.

Link copied to clipboard

Longitude of grid column x.

Link copied to clipboard
fun CoverageGrid.toGeoJson(style: CoverageStyle = CoverageStyle(), bandCount: Int = DEFAULT_BANDS): String

The coverage as GeoJSON polygons with simplestyle-spec fills: what the map draws as a layer.