Drops a map matching workspace by name.
Syntax
boolean ST_DropWorkspace(text wsname);Parameters
| Parameter | Description |
|---|---|
wsname | The name of the workspace to drop. The name must be unique. |
Return values
| Value | Description |
|---|---|
t | The workspace was dropped successfully. |
f | The workspace could not be dropped. |
Description
Dropping a workspace releases its in-memory topological network data and removes the corresponding records from the mapmatching_workspace table.
Example
SELECT ST_DropWorkspace('mm_ws_test');