Returns the custom tile options set on an sfmesh object as a JSON string.
Syntax
cstring ST_TileOption(sfmesh sfmesh);Parameters
| Parameter | Description |
|---|---|
schema_name | The 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:
| Field | Description |
|---|---|
with_geometry | Specifies whether geometry objects are included. |
with_submesh | Specifies 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}该文章对您有帮助吗?