This function imports an Object Storage Service (OSS) object into a raster object in ApsaraDB for RDS that uses Ganos.
Syntax
raster ST_ImportFrom(cstring chunkTableName, cstring url);
Parameters
Parameter | Description |
---|---|
chunkTableName | The name of the chunk table. The name must comply with the table naming conventions of ApsaraDB for RDS. |
url | The path of the OSS object. For more information, see the description of the url parameter in ST_CreateRast. |
Description
This function creates a raster object and imports an external OSS object into the raster object.
Examples
Select ST_ImportFrom('chunk_table','OSS://ABCDEFG:1234567890@oss-cn.aliyuncs.com/mybucket/data/4.tif');