ST_RasterID

更新时间:
复制 MD 格式

Returns the universally unique identifier (UUID) of a raster object.

Syntax

text ST_RasterID(raster raster_obj);

Parameters

ParameterDescription
raster_objThe raster object.

Example

Retrieve the UUID for each raster object in a table:

SELECT ST_RasterID(raster_obj) FROM raster_table;
------------------------------------
4e692ed0-74e2-42a3-a10d-c28d4ae31982

What's next

  • ST_RasterPath: Returns the storage path of a raster object.

  • ST_NumBands: Returns the number of bands in a raster object.

  • ST_Height: Returns the height of a raster object in pixels.