ST_TileOption

更新时间:
复制 MD 格式

Returns the custom tile options set on an sfmesh object as a JSON string.

Syntax

cstring ST_TileOption(sfmesh sfmesh);

Parameters

ParameterDescription
schema_nameThe sfmesh object to query.

Return value

Returns a cstring (C string) containing a JSON-formatted representation of the tile options. The JSON includes the following fields:

FieldDescription
with_geometrySpecifies whether geometry objects are included.
with_submeshSpecifies whether child sfmesh objects are included.

Example return value:

{"with_geometry":true,"with_submesh":true}

Examples

SELECT ST_TileOption(the_mesh)
FROM t_table;

Output:

{"with_geometry":true,"with_submesh":true}