Releases the in-memory topological network data of a map matching workspace.
Syntax
boolean ST_ClearWorkspace(text wsname);Parameters
| Parameter | Description |
|---|---|
wsname | The name of the workspace. The name must be unique. |
Return values
| Return value | Description |
|---|---|
t | The workspace was released successfully. |
f | The workspace failed to release. |
Description
ST_ClearWorkspace releases only the in-memory topological network data. The workspace entry remains in the mapmatching_workspace table and can be reloaded at any time by calling ST_LoadWorkspace.
Examples
SELECT ST_ClearWorkspace('mm_ws_test');