StaticfromConstructs new CogResource from GeoTIFF source data (url, Blob, ArrayBuffer).
Also enables pre-creating GeoTIFF object.
GeoTIFF object or source (string, File, Blob, ArrayBuffer)
customizable options
{@inheritDoc CogResource.Constructor.Options.getStats}
CogResource referencing provided GeoTIFF
Band number (starting at 0) to interpret as elevation values
Readonlybasestored image.getOrigin(), image.getResolution(), and image.get[Width|Height]() for computing overview resolutions
ReadonlybboxBounding corners of file data ([west, south, east, north]) in native CRS
[low, high] bounds to clamp elevation values to
Value in TIFF pixel to be reinterpreted as 0 elevation
Value in TIFF pixel to be reinterpreted as 0 elevation
Readonlyprojection.forward() converts to WGS84, .inverse() converts from WGS84
ReadonlyrectangleBounding edges of file data, in Geographic radians
OptionalstatsGrid edge lengths to resample GeoTIFFImage.readRasters(); Must be 2^k + 1
ReadonlytilingThe main interface for actually requesting data from the resource.
Uses a Cesium.Rectangle
since tile coordinates {x, y, z} are not consistant across CRS
Cesium.Rectangle for tile that is requesting Terrain geometry
TypedArray containing pixel data.
Specifically, GeoTIFF's TypedArrayWithDimensions result from readRasters()
Helpful wrapper around Cesium.Rectangle.intersection() to check against
this.rectangle
Cesium.Rectangle to check for intersections
true if resource intersects with tileRect, false if not
The base Resource that serves GeoTIFF raster data via getPixelData, designed for use within MartiniTerrainProvider
See