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. The name must be unique. |
Return values
| Value | Description |
|---|---|
t | The workspace was loaded successfully. |
f | The workspace failed to load. |
Description
The in-memory topological network is released when the database process exits. To resume map matching after the database process exits, call ST_LoadWorkspace again with the target workspace name.
Examples
SELECT ST_LoadWorkspace('mm_ws_test');