Loads a map matching workspace and builds an in-memory topological network from data in a relational table.
Syntax
boolean ST_LoadWorkspace(text wsname);Parameters
| Parameter | Description |
|---|---|
wsname | The name of the workspace. Must be unique. |
Return values
| Return value | Description |
|---|---|
t | The workspace loaded successfully. |
f | The workspace failed to load. |
Description
When the database process exits, the in-memory topological network data in the workspace is released. To perform map matching, reload the workspace data using the SQL statement that specifies the workspace name.
Examples
SELECT ST_LoadWorkspace('mm_ws_test');