Releases 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 | Failed 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');该文章对您有帮助吗?