Skip to main content
Returns a raster geometry from a GeoTiff file.

Signatures

Parameters

ARRAY[Byte]
required
A byte array that contains the content of the GeoTiff file.
Boolean
default:"true"
Whether to rescale the pixel values using the per-band scale and offset stored in the GeoTiff file. The default value is true, so bands that carry this metadata arrive as doubles in physical units (for example, Sentinel-2 surface reflectance) rather than as raw digital numbers. Pass false to keep the raw values and the native pixel type. See Band values, scale, and offset.

Return type

The resulting raster.

Example