This function imports an OSS object into a raster object in ApsaraDB for PostgreSQL that uses Ganos.


raster ST_ImportFrom(cstring chunkTableName, cstring url);


Parameter Description
chunkTableName The chunk table name, which must comply with the table naming rules of ApsaraDB for PostgreSQL.
u​rl The URL of the external OSS object. For more information, see the description of the url parameter in ST_CreateRast.


This function creates a raster object and imports an external OSS object into the raster object.


Select ST_ImportFrom('chunk_table','OSS://');