3D

Timeline

This sample shows how to use a LuciadRIA Map to display time-based data and expression-based styling.

Data

The sample shows an overview of world-wide earthquakes from 2000 to 2011, as well as the tectonic plates of the planet. Both are GML files that are styled and filtered using properties from the files.

The dot size indicates the earthquake's magnitude : larger dots for stronger quakes.
The dot color indicates the earthquake's depth : quakes near the surface are red, deeper quakes are yellow to blue.

The sample also shows a timeline with the earthquakes and a histogram.
The histogram shows the accumulated magnitudes of the visible earthquakes per month.

The sample offers playback functionality, activated by the corresponding button.
In playback mode, the styling dynamically changes based on the time of the earthquake and the time index indicated by the vertical line in the timeline view. Only earthquakes that happened shortly before the indicated time index are displayed.

Usage

You can navigate (zoom and pan) the timeline.
The spatial map and the timeline are linked:

  • The spatial map displays only earthquakes in the time range visible on the timeline.
  • The timeline displays only earthquakes in the area visible on the map.
  • Selection is synchronized.
  • The histogram is updated with the visible earthquakes.

Details

The timeline is based on a LuciadRIA "non-georeferenced" map. It is a regular Map that you can add layers to, but it doesn't have a spatial reference. Instead, the map shows data over time.
Either the geometry in your model can be expressed in that time reference, or you can use a ShapeProvider to make time-based geometry on the fly.
See TimeSlider for details.

The spatial map displays the earthquakes with a ParameterizedPointPainter instead of the regular FeaturePainter. It illustrates that you can not only achieve a similar visualization using expressions but also make use of fast filtering, immediate density and dynamic styling.
See EarthquakesParameterizedPointPainter for details.

---°--'--",----°--'--"
0.0m
Infinity km
LAYERS
Earthquakes
Tectonic plates
compass

Timeline

This sample shows how to use a LuciadRIA Map to display time-based data and expression-based styling.

Data

The sample shows an overview of world-wide earthquakes from 2000 to 2011, as well as the tectonic plates of the planet. Both are GML files that are styled and filtered using properties from the files.

The dot size indicates the earthquake's magnitude : larger dots for stronger quakes.
The dot color indicates the earthquake's depth : quakes near the surface are red, deeper quakes are yellow to blue.

The sample also shows a timeline with the earthquakes and a histogram.
The histogram shows the accumulated magnitudes of the visible earthquakes per month.

The sample offers playback functionality, activated by the corresponding button.
In playback mode, the styling dynamically changes based on the time of the earthquake and the time index indicated by the vertical line in the timeline view. Only earthquakes that happened shortly before the indicated time index are displayed.

Usage

You can navigate (zoom and pan) the timeline.
The spatial map and the timeline are linked:

Details

The timeline is based on a LuciadRIA "non-georeferenced" map. It is a regular Map that you can add layers to, but it doesn't have a spatial reference. Instead, the map shows data over time.
Either the geometry in your model can be expressed in that time reference, or you can use a ShapeProvider to make time-based geometry on the fly.
See TimeSlider for details.

The spatial map displays the earthquakes with a ParameterizedPointPainter instead of the regular FeaturePainter. It illustrates that you can not only achieve a similar visualization using expressions but also make use of fast filtering, immediate density and dynamic styling.
See EarthquakesParameterizedPointPainter for details.