Gpkg Cached Elevation Data Factory
open class GpkgCachedElevationDataFactory(parent: GpkgCachedElevationSourceFactory, zoomLevel: Int, tileColumn: Int, tileRow: Int) : ElevationSource.ElevationDataFactory
Per-tile implementation of the ElevationSource.ElevationDataFactory contract. Lives for a single (z, x, y) read.
fetchElevationData() is the only entry point — it tries the gpkg first, falls through to GpkgCachedElevationSourceFactory.networkSource on a miss, and write-through-encodes the network buffer to the gpkg in the storage layout chosen at coverage creation.
Constructors
Link copied to clipboard
constructor(parent: GpkgCachedElevationSourceFactory, zoomLevel: Int, tileColumn: Int, tileRow: Int)
Functions
Link copied to clipboard
Cache-only read (no network): the decoded Buffer on a cache hit, or null on a miss or decode failure. Lets a coverage serve cached tiles without consuming a network retrieval slot. Mirrors the best-effort decode handling in fetchElevationData.
Link copied to clipboard