Companion

Properties

Link copied to clipboard

Rough size of the street map per km². Urban areas, so rural meshes come in well under it.

Link copied to clipboard
const val COVERAGE_THRESHOLD: Double = 1.0

Every sample must be covered: the volume should show relief edge to edge.

Link copied to clipboard
const val MANAGER: String

The owner tag the spatial map puts on the offline region it keeps.

Link copied to clipboard
Link copied to clipboard

Areas this small (per side) also get the regional high-resolution extract.

Link copied to clipboard

Rough size of global z0-12 terrain per km². The manager re-checks the real plan.

Functions

Link copied to clipboard
Link copied to clipboard

Streets plus terrain.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun make(box: GeoBounds, regions: List<SpatialOfflineRegion>, isBusy: Boolean, backoff: SpatialTerrainBackoff, nowMillis: Long, growOnly: Boolean = false, streetsTooLarge: GeoBounds? = null, limits: SpatialStorageLimits = SpatialStorageLimits()): SpatialTerrainAutoDecision

streetsTooLarge is an area whose street map was over the per-map limit: inside it, terrain alone counts.

Link copied to clipboard

The smaller areas that still cover box, to try in turn when the street map for target is over the per-map limit (the estimate is rough; the manager checks the real plan).