ST_ClearWorkspace

更新时间:
复制 MD 格式

Releases a map matching workspace.

Syntax

boolean ST_ClearWorkspace(text wsname);

Parameters

ParameterDescription
wsnameThe name of the workspace. The name must be unique.

Return values

Return valueDescription
tThe workspace was released successfully.
fFailed to release the workspace.

Description

After releasing the in-memory topological network data in a workspace, the workspace remains in the mapmatching_workspace table. To reuse the workspace, call ST_LoadWorkspace to reload the data.

Examples

SELECT ST_ClearWorkspace('mm_ws_test');