Introduction: Returns the metadata of the raster as a struct. The struct has the following schema:
v1.6.1) width of tiles in the rasterv1.6.1) height of tiles in the rasterFor more information about ScaleX, ScaleY, SkewX, SkewY, please refer to the Affine Transformations section.
tileWidth and tileHeight are available since v1.6.1, they are the dimensions of the tiles in the raster. For example, rasters written by RS_FromGeoTiff uses the tiling scheme of the loaded GeoTIFF file. For rasters that has only 1 tile, tileWidth and tileHeight will be equal to gridWidth and gridHeight respectively.
Format: RS_MetaData (raster: Raster)
Return type: Array<Double>
Since: v1.4.1
SQL Example
SELECT RS_MetaData(raster) FROM raster_table
Output:
{-1.3095817809482181E7, 4021262.7487925636, 512, 517, 72.32861272132695, -72.32861272132695, 0.0, 0.0, 3857, 1, 256, 256}