Return the "base" metadata, usually it is a zero band metadata, a metadata that is valid for the entire source and for the zero band
Return the "base" metadata, usually it is a zero band metadata, a metadata that is valid for the entire source and for the zero band
Return a per band metadata
Return a per band metadata
Converts the contents of the GDALRasterSource to the TargetCellType.
Converts the contents of the GDALRasterSource to the TargetCellType.
Note:
GDAL handles Byte data differently than GeoTrellis. Unlike GeoTrellis, GDAL treats all Byte data as Unsigned Bytes. Thus, the output from converting to a Signed Byte CellType can result in unexpected results. When given values to convert to Byte, GDAL takes the following steps:
Thus, it is recommended that one avoids converting to Byte without first ensuring that no data will be lost.
Note:
It is not currently possible to convert to the BitCellType using GDAL.
Fetches a default metadata from the default domain.
Fetches a default metadata from the default domain. If there is a need in some custom domain, use the metadataForDomain function.
Fetches a metadata from all domains.
Fetches a metadata from the specified GDALMetadataDomain list.
All the information received from the JNI side should be cached on the JVM side, to minimize JNI calls.
All the information received from the JNI side should be cached on the JVM side, to minimize JNI calls. Too aggressive JNI functions usage can lead to a significant performance regression as the result of the often memory copy.
For the each JNI call the proxy function will send arguments into the C bindings, on the C side the result would be computed and sent to the JVM side (memory copy happened two times).
Since it would happen for each call, much safer and faster would be to remember once computed value in a JVM memory and interact only with it: it will allow to minimize JNI calls, speed up function calls and will allow to memoize some potentially sensitive data.
Resolutions of available overviews in GDAL Dataset
Resolutions of available overviews in GDAL Dataset
These resolutions could represent actual overview as seen in source file or overviews of VRT that was created as result of resample operations.