全部產品
Search
文件中心

AnalyticDB:ST_DeletePyramid

更新時間:Feb 05, 2024

刪除影像金字塔。

文法

raster ST_deletePyramid(raster source);

參數

參數名稱

描述

source

需要刪除金字塔的raster對象。

描述

刪除影像金字塔,重設影像中繼資料,刪除金字塔塊資料。

樣本

DO $$
declare
    rast raster;
begin
    select raster_obj into rast from raster_table where id = 1;
    rast = ST_deletePyramid(rast);
    update raster_table set raster_obj = rast where id = 1;
end;    
$$ LANGUAGE 'plpgsql';