ST_IsGeoreferenced

更新时间:
复制 MD 格式

Returns true if a raster object has geographic reference information, or false if it does not.

Syntax

boolean ST_IsGeoreferenced(raster raster_obj);

Parameters

ParameterDescription
raster_objThe raster object to check.

Return value

Returns a Boolean value:

  • t: indicates true.

  • f: indicates false.

Examples

Check whether a raster object in raster_table is georeferenced:

SELECT ST_IsGeoreferenced(raster_obj) FROM raster_table WHERE id = 1;

Output:

t