Add Data Source
Add your live data source to display it in SpatialWork
Last updated
Add your live data source to display it in SpatialWork
Last updated
SpatialWork supports data sources of REST API, SQL, WebSocket and Immersal connection types
CSV, JSON, DOC (e.g. PDF file) response types
API authentication via API key, Basic authentication and Bearer token methods
API key can be added as a header or as a query parameter
Users are required to input the following to successfully connect to the database:
Database IP
Database Port
Database Name
Database User
Database Password
JSON, CSV, DOC (e.g. PDF file) response types
Handshake Path is optional, if left empty, the default path will be /socket.io
Event is mandatory and is the message event that SpatialWork listens to API authentication via API key, Basic authentication and Bearer token methods
API key can be added as a header or as a query parameter
1. Click the SpatialWork Icon
2. Open File > Data Source
3. Click Add source
4. Enter the details of your data source
5. For this example, we will be using a JSON response for the response type and no API authentication
6. Click Save
to add the data source to your project.
7. You have successfully created your new data source