Enabling Spatiotemporal for a Dataset
In order to visualize and animate spatiotemporal data, you must enable Spatiotemporal for the dataset on the Datasets page.
Spatial Studio supports visualization and animation of spatiotemporal map layers using a Cesium Timeline widget (see Overview of the Cesium Timeline Widget). These map layers can listen to the timeline only if you enable Spatiotemporal on the underlying datasets.
Characteristics of a Spatiotemporal Dataset
Spatial Studio considers a dataset to contain spatiotemporal data if it belongs to any one of the following types.
-
Live Spatiotemporal Dataset: A dataset which meets the following characteristics is known as a Live dataset:
-
The dataset is based on a geometry table or view with a geometry column or pair of latitude/longitude columns.
-
The dataset has one or more entities (that represent an object in the dataset) which are uniquely identified by one of the columns.
-
The dataset’s underlying table or view contains a column of the type
TIMESTAMPorDATE(or a qualifying field in the GeoJSON response), that stores the UTC datetime of the entities as they are being observed and recorded. -
The dataset’s underlying table or view must have ongoing inserts with recently obtained location data of entities being observed or monitored.
Spatial Studio considers all the different dataset rows of the same entity id as entries representing the entity with different
TIMESTAMPvalues. However, they may or may not have varying location coordinates or geometries. Hence, these live spatiotemporal datasets can again be classified as shown:-
Moving Objects: For each entity, if the location or geometry change with changing
TIMESTAMPvalues, then these datasets are called moving objects datasets. In this case, a trail layer (if it is a qualifying geometry) gets added, which shows the trajectory of the moving object as a line string by fetching data for lastNseconds (or higher time unit). -
Non-Moving Objects: For each entity, if only certain properties change (and not the location or geometry) with changing
TIMESTAMP, then these are called non-moving objects datasets. In this case, no trail layer gets added as only the properties change with time.
-
-
Non-Live Spatiotemporal Dataset: A dataset with the following characteristics is known as a Non-Live dataset:
-
The dataset is based on a geometry table or view with a geometry column or pair of latitude/longitude columns.
-
The dataset’s underlying table or view contains a
TIMESTAMPorDATEtype column that contains historic time values.
These datasets can again be classified as shown:
-
Moving Objects: Similar to a Live dataset, if this dataset contains entities (that uniquely represent an object in the dataset) with varying
TIMESTAMPvalues, then a trail layer gets added. The trail layer shows the trajectory of the moving object as a line string by fetching data for lastNseconds (or higher time unit). -
Non-Moving Objects: In this configuration, the dataset is just treated to have various rows with different
TIMESTAMPvalues (not grouped by any entity id).
-
-
Time-enabled WMS Dataset: If a WMS Service offers a time dimension for an image layer selected in a WMS dataset, then that WMS Dataset can be configured as spatiotemporal.
-
GeoJSON URL (external) Dataset: These types of datasets can be configured to refresh periodically based on an interval value.
Configuring Spatiotemporal for Live Moving Objects Dataset
Perform the following steps to configure spatiotemporal for a live dataset with moving objects. The instructions assume that such a dataset is already existing in your database schema.
-
Navigate to the Datasets page.
-
Right-click on the required spatiotemporal dataset and click Properties.
The Dataset Properties dialog opens.
-
Click the Spatiotemporal tab.
The following dialog is displayed:

Description of the illustration spatio_temporal_ds_properties.png
-
Switch
ONEnable Spatiotemporal. -
Select the Timestamp (or Date) Column.
-
Both date-type and timestamp-type columns are supported.
-
If using a timestamp-type column, then note that Spatial Studio supports only UTC (Coordinated Universal Time) or GMT (Greenwich Mean Time) time zone for visualizing moving objects.
-
-
Switch
ONData is live. -
Switch
ONMoving objects. -
Select the Entity ID Column that identifies a set of unique entities.
The Entity ID Column is not a unique column as each entity can have many recordings of its locations in the same table.
-
Specify Data Change Rate to indicate the approximate frequency of the live feed updates in the table.
-
Optionally, select the Altitude Column for 3D scene visualization only.
-
Click Apply.
Your dataset is now enabled for spatiotemporal data visualization.
Related Topics
Configuring Spatiotemporal for Live and Non-Moving Objects Dataset
Perform the following steps to configure spatiotemporal for a dataset containing live real-time data on non-moving objects. Although the data attributes of the different entities can vary with time, the entity locations do not change. The instructions assume that such a dataset is already existing in your database schema.
-
Navigate to the Datasets page.
-
Right-click on the required spatiotemporal dataset and click Properties.
The Dataset Properties dialog opens.
-
Click the Spatiotemporal tab.
-
Switch
ONEnable Spatiotemporal. -
Select the Timestamp (or Date) Column.
-
Both date-type and timestamp-type columns are supported.
-
If using a timestamp-type column, then note that Spatial Studio supports only UTC (Coordinated Universal Time) or GMT (Greenwich Mean Time) time zone for visualizing moving objects.
-
-
Switch
ONData is live. -
Switch
OFFMoving objects. -
Select the Entity ID Column that identifies a set of unique entities.
The Entity ID Column is not a unique column as each entity can have many recordings of its locations in the same table.
-
Specify Data Change Rate to indicate the approximate frequency of the live feed updates in the table.
-
Optionally, select the Altitude Column for 3D scene visualization only.
-
Click Apply.
Your dataset is now enabled for spatiotemporal data visualization.
Related Topics
Configuring Spatiotemporal for Non-Live Moving Objects Dataset
Perform the following steps to configure spatiotemporal for a dataset containing non-live data on moving objects. The instructions assume that such a dataset is already existing in your database schema.
-
Navigate to the Datasets page.
-
Right-click on the required spatiotemporal dataset and click Properties.
The Dataset Properties dialog opens.
-
Click the Spatiotemporal tab.
The following dialog is displayed:

Description of the illustration spatio_temporal_historical-data.png
-
Switch
ONEnable Spatiotemporal. -
Select the Timestamp (or Date) Column.
-
Both date-type and timestamp-type columns are supported.
-
If using a timestamp-type column, then note that Spatial Studio supports only UTC (Coordinated Universal Time) or GMT (Greenwich Mean Time) time zone for visualizing moving objects.
-
-
Switch
OFFData is live. -
Switch
ONMoving objects. -
Select the Entity ID Column that identifies a set of unique entities.
The Entity ID Column is not a unique column as each entity can have many recordings of its locations in the same table.
-
Select the Time Unit.
-
Click Apply.
Your dataset is now enabled for spatiotemporal data visualization.
Related Topics
Configuring Spatiotemporal for Non-Live and Non-Moving Objects Dataset
Perform the following steps to configure spatiotemporal for a dataset containing non-moving objects with different timestamp values. The instructions assume that such a dataset is already existing in your database schema.
-
Navigate to the Datasets page.
-
Right-click on the required spatiotemporal dataset and click Properties.
The Dataset Properties dialog opens.
-
Click the Spatiotemporal tab.
The following dialog is displayed:

Description of the illustration spatio_temporal_filtering_ds.png
-
Switch
ONEnable Spatiotemporal. -
Select the Timestamp (or Date) Column.
-
Both date-type and timestamp-type columns are supported.
-
If using a timestamp-type column, then note that Spatial Studio supports only UTC (Coordinated Universal Time) or GMT (Greenwich Mean Time) time zone for visualizing moving objects.
-
-
Switch
OFFData is live. -
Switch
OFFMoving objects. -
Select the Time Unit.
The data will be filtered as per the selected time unit.
Also, note that the filtering is applied at the dataset level. This implies that all the layers created out of this dataset will have the same filtering when added to the timeline.
-
Click Apply.
Your dataset is now enabled for spatiotemporal data visualization.
Related Topics
Configuring Spatiotemporal for OGC WMS Datasets
Perform the following steps to configure spatiotemporal for an OGC WMS dataset.
-
Navigate to the Datasets page.
-
Right-click on the required OGC WMS dataset and click Properties.
The Dataset Properties dialog opens.
-
Click the Spatiotemporal tab.
The following dialog is displayed:

-
Switch
ONEnable Spatiotemporal. -
Click Apply.
Your dataset is now enabled for spatiotemporal data visualization.
Related Topics
Configuring Spatiotemporal for GeoJSON URL Datasets
Perform the following steps to configure spatiotemporal for a GeoJSON URL based dataset.
-
Navigate to the Datasets page.
-
Right-click on the required GeoJSON URL dataset and click Properties.
The Dataset Properties dialog opens.
-
Click the Spatiotemporal tab.
-
Switch
ONEnable Spatiotemporal. -
Click Apply.
Your dataset is now enabled for spatiotemporal data visualization. Also, note that the dataset will be considered Live by default.
Related Topics