Creates a COG source.
options
Private
_bpsPrivate
Readonly
_cachePrivate
Readonly
_cachePrivate
Readonly
_cachePrivate
_channelsPrivate
_dimensionsPrivate
_extentPrivate
_formatPrivate
_imagePrivate
_imagesPrivate
_initializePrivate
_initializedPrivate
_masksPrivate
_nodataPrivate
_originPrivate
Readonly
_poolPrivate
_samplePrivate
_tiffReadonly
containsReadonly
crsGets the datatype of images generated by this source.
Readonly
flipYGets whether images generated from this source should be flipped vertically.
Readonly
isReadonly
isReadonly
urlGets the channel mapping.
Gets the color space of the textures generated by this source.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
The request extent.
The width, in pixels, of the request extent.
The height, in pixels, of the request extent.
The margin, in pixels.
The adjusted parameters.
Gets whether this source contains the specified extent. If a custom contains function is provided, it will be used. Otherwise, intersects is used.
This method is mainly used to discard non-relevant requests (i.e don't process regions that are not relevant to this source).
The extent to test.
Private
createFire an event type.
The event that gets fired.
Private
fetchGets the images for the specified extent and pixel size.
An array containing the functions to generate the images asynchronously.
Private
getExtract a region from the specified image.
The request extent.
The image to sample.
The abort signal.
The request id.
The buffer(s).
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Private
initializeTest the intersection between the specified extent and this source's extent. This method may be overriden to perform special logic.
The extent to test.
true
if the extent and this source extent intersects, false
otherwise.
Private
loadPrivate
makeReturns a window in the image's coordinates that matches the requested extent.
The window extent.
The spatial resolution of the window.
The window.
Private
processPrivate
readRemoves a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Private
selectSelect the best overview level (or the final image) to match the requested extent and pixel width and height.
The window extent.
The pixel width of the window.
The pixel height of the window.
The selected zoom level.
Static
computeGenerated using TypeDoc
Provides data from a Cloud Optimized GeoTIFF (COG).