In this part you will learn how to create a new data set that directly connects to a PostgreSQL database.
In the platform, go to Data sets
Click + CREATE NEW DATA SET
Choose CREATE FROM DATABASE
Enter a Name for your dataset.
Select Time Series Data as the type.
Optionally, provide a Description and specify what the shapes in your data represent (assets) (e.g., neighborhoods, sensors, devices,….).
Choose PostgreSQL (PostGIS) as the source type.
Fill in the following fields:
URL, e.g., jdbc:postgresql://hostname:port/database
User, your database username
Password, your database password
Geometry Table, the name of the table containing spatial features
Time Series Table, the name of the table with time-stamped values
|
Additional constraints on the tables
|
After filling in the connection details, the platform will automatically test the database connectivity.
If the connection is successful, you’ll see a blue confirmation, otherwise it turns red and provides info on why the connection failed.
Click CREATE DATA SET.
Once created, you’ll be directed to the second step, which allows you to further configure the geometry and time series properties.
Go to the next part: Configuring which table columns to expose