GeoTIFFLayer

Source: GeoTIFFLayer.ts:64

GeoTIFFLayer renders Cloud Optimized GeoTIFF (COG) and standard GeoTIFF rasters onto the OpenGlobus 3D globe using progressive overview pyramid tiles.


Constructor

new GeoTIFFLayer(name, options): GeoTIFFLayer

Instance Methods

_initReader()

Opens the layer source. Also used to reopen it when the layer returns to the planet.

setRenderOptions()

Updates rendering options and re-renders active textures in place.

clearCache()

Clears decoded in-memory tile and raster caches.

_readSource()

Opens the source. If its CRS is unresolved, fetches the projection from the EPSG registry and reopens the source with it.

Projections provided via projFunc or registered in proj4 are already resolved and require no lookup.

_renderTileImage()

Renders the tile rasters into an image that goes straight into the tile texture. The previous image of the tile is reused, so restyling does not allocate.

_refreshCachedTile()

Renders the tile and puts it into the cache, reusing the image that is already there.