名称

ST_SetUpperLeft — 将栅格左上角的值设置为投影的X和Y坐标。

大纲

raster ST_SetUpperLeft(raster rast, double precision x, double precision y);

Description

将栅格像素左上角的值设置为投影的 X 和 Y 坐标

示例

Code
SELECT ST_SetUpperLeft(rast, -71.01, 42.37)
FROM dummy_rast
WHERE rid = 2;