This topic describes the ST_SetTileOption function. This function configures custom a tile option for a sfmesh object.
Syntax
sfmesh ST_SetTileOption(sfmesh sfmesh, cstring option);Parameters
Parameter | Description |
schema_name | The sfmesh object. |
option | The value of the option. The value is in JSON format. |
Description
This function configures a custom tile option. The value of the option parameter is a JSON string. It contains the following fields:
Field | Description |
with_geometry | Specifies whether geometry objects are included. |
with_submesh | Specifies whether child sfmesh objects are included. |
Example:
{
"with_geometry" : true,
"with_submesh" : true
}Examples
SELECT ST_TileOption(ST_SetTileOption(the_mesh, '{"with_geometry":false,"with_submesh":true}'))
FROM t_table
-------------------
{"with_geometry":false,"with_submesh":true}