GIS Tools

Language

Made withfor the GIS community

Time Slider Animator

Animate temporal data with playback controls

Analysis

Load GeoJSON

With time/date properties

Help

  • β€’ Load GeoJSON with date/time properties
  • β€’ Select the field containing temporal data
  • β€’ Use the slider or play button to animate
  • β€’ Supports year, date, and timestamp formats

What Is a Time Slider Animator?

A time slider animator is a map control that lets you visualise spatial data over time by sliding through timestamps or by playing an automatic animation. Each frame of the animation shows the features that are active at that timestamp; sliding the slider scrubs forward and backward through the dataset; pressing play loops through the time range. The result is a temporal visualisation that turns a static GeoJSON into an unfolding story β€” wildfire spread, hurricane tracks, urban growth, ship movements, disease outbreaks, election shifts, satellite passes.

The Time Slider Animator on gis.tools loads a GeoJSON layer with a timestamp attribute and adds a time slider plus playback controls in the browser. People search for "time slider gis", "animate gis layer over time", "temporal map animation", "qgis temporal controller" and "geojson animation" because almost every dataset that has more than one observation per location has a temporal dimension that begs to be visualised.

Temporal visualisation is hard to get right. A good time slider lets the viewer focus on change rather than novelty: events that appear, disappear, accumulate and fade. The same data presented as a static map almost always loses the most important pattern.

How a Time Slider Works

Three things have to be configured: the time field, the temporal mode (instant or interval) and the animation behaviour.

Time Field

The slider needs to know which attribute holds the timestamp. The field can be ISO 8601 date strings (2024-06-12T14:30:00Z), Unix epoch seconds, or fractional years (2024.45). The animator parses the field and builds a sorted timeline.

Instantaneous vs Interval Features

An "instantaneous" feature exists at a single timestamp (a tweet, a 311 call, a satellite ping). An "interval" feature exists between a start and an end timestamp (a fire perimeter from ignition to containment, a vehicle trip from departure to arrival). Interval features need two attributes (start and end). The animator handles both.

Temporal Window

At any given playhead position, the slider can show:

  • A snapshot β€” features whose timestamp equals the current frame
  • A trailing window β€” features within the last N units before the current frame
  • A cumulative view β€” all features up to the current frame
  • A leading window β€” features within the next N units after the current frame

The mode dramatically changes the visual story. Cumulative shows growth; trailing shows recent activity; snapshot shows a single instant.

Playback Controls

Play, pause, reverse, step forward, step back, change speed (frames per second). A loop toggle replays the animation continuously.

Style Hooks

Optional style functions can fade older features, animate marker size, change colours over time and add tail effects for moving points.

Key Parameters and Options

Time Attribute

The field name in your GeoJSON that holds the timestamp.

Time Format

ISO 8601 date string, Unix seconds, fractional year, etc. The animator auto-detects common formats.

Window Mode

Snapshot, trailing window, cumulative or leading window. Trailing windows are good for rolling-recent visualisations; cumulative is good for "growth over time" stories.

Window Size

For trailing/leading modes, the duration of the window in days, hours, minutes or any time unit.

Playback Speed

Frames per second. Higher speed compresses long timelines into watchable durations.

Loop

Toggle continuous looping after the animation reaches the end.

Style by Time

Optional time-driven styling: fade older features, scale marker size by recency, colour by age.

Practical Applications

Wildfire Spread Visualisation

A wildfire perimeter dataset with daily snapshots becomes a vivid animation showing how the fire grew, where it spread fastest and how containment lines held. Used in incident debriefs and public communication.

Hurricane Tracks and Storm Tracks

National hurricane centres release storm position fixes every six hours. Animating the points and forecast cones over time shows the storm's evolution far better than a static plot.

Urban Growth Time Series

Decadal urban-extent polygons (1970, 1980, 1990, 2000, 2010, 2020) become a growth animation that drives planning conversations about sprawl and infill.

Ship and Vehicle Tracking

AIS ship pings, GPS vehicle tracks and bird-tracking telemetry have natural temporal dimensions. A trailing-window animation shows where each vessel is now and where it has been recently.

Disease Outbreak Mapping

Confirmed case locations with diagnosis dates animate the spread of an outbreak across a city or country. Public health responders use these visualisations in emergency briefings.

Election Results Over Time

State-by-state election results across multiple cycles animate political shifts. Cumulative or snapshot modes both tell different versions of the story.

Earthquake Sequences

Seismic events with origin time become an animation that highlights swarms, aftershocks and migration along faults.

Crowd Movement and Event Logistics

Sensor counts of people in subway stations, festival grounds or stadiums plotted as time-aware points reveal flow patterns useful for crowd management.

Step-by-Step Workflow in gis.tools

  1. Open the Time Slider Animator page on gis.tools.
  2. Drag a GeoJSON layer with a timestamp attribute into the page.
  3. The animator scans the attributes and offers a list of candidate time fields.
  4. Pick the field, confirm the format and choose between instantaneous and interval mode.
  5. Set the window mode (snapshot, trailing, cumulative, leading) and window size.
  6. Optionally add time-driven styling (fade, scale, colour).
  7. Press Play to preview the animation. Use the slider to scrub manually.
  8. Adjust speed, window size and styling until the story reads clearly.
  9. Save the slider configuration to a JSON state file via the GIS Notebook for reproducibility.

Worked Example: Animating a Year of Earthquake Data

You download the USGS one-year M2.5+ earthquake catalog as GeoJSON β€” about 50000 events with time (ISO 8601) and mag attributes. You drop the file into the Time Slider Animator and select time as the temporal field. You choose snapshot mode with a 24-hour trailing window so each frame shows one day of seismicity. You scale marker radius by mag so larger quakes pop visually. Pressing play, you see daily seismicity along the Pacific Ring of Fire pulsing across the year. A cluster of bright dots in late March marks an aftershock sequence in Japan. You note the dates for follow-up analysis and save the configuration so colleagues can reload the same animation tomorrow.

Common Pitfalls and Gotchas

  • Time attribute formats vary; the animator must parse them consistently. Convert to ISO 8601 first if you have mixed formats.
  • Snapshot mode with a small window may show no features for many frames if events are sparse β€” use a trailing window instead.
  • Cumulative mode never resets β€” by the end of the animation, every feature is visible. This can hide the temporal pattern.
  • Very fast playback compresses long timelines into seconds, losing detail β€” slow down for important parts.
  • Time zones matter. UTC is the safe default; mixed time zones produce confusing animations.
  • Features with missing timestamps are excluded β€” flag them in your data quality report.
  • Animated layers with thousands of features per frame can stutter on weaker hardware β€” simplify or downsample first.
  • A poor choice of window mode tells the wrong story; try multiple modes before publishing.

Tips for Best Results

  • Convert all timestamps to ISO 8601 UTC before loading.
  • For high-frequency point data (GPS pings, sensors), a trailing window of minutes to hours produces the most readable animation.
  • For long-term trends (urban growth, climate), cumulative mode works well.
  • Pair the slider with a histogram of the time attribute so viewers can see the data density distribution.
  • Use a loop toggle for kiosks and presentations.
  • Test the animation at presentation resolution to catch any visual issues with marker size and colour.
  • Consider exporting individual frames as images for use in slides or videos.
  • Document the time field and window mode in the saved state file.

Comparison with Other GIS Approaches

QGIS provides the Temporal Controller for temporal animation of any layer with a date field; ArcGIS Pro has the Time Slider; Kepler.gl has rich time animation built in; deck.gl supports time-aware rendering for very large datasets. The Time Slider Animator on gis.tools delivers a similar experience in a browser tab without an install. The trade-off is that very large datasets (millions of features) are still better suited to a GPU-accelerated tool like Kepler.gl or deck.gl.

Performance Considerations

Each animation frame queries the active feature set and re-renders the layer. For datasets up to ~50000 features, modern browsers maintain 30-60 FPS. Larger datasets need spatial indexing or downsampling. Use GeoJSON Simplifier to reduce vertex counts on linestring/polygon time series before loading.

Data Privacy and Browser-Based Processing

The GeoJSON file is read with the File API and processed in the browser tab. The animator computes the active feature set and re-renders entirely client-side. No upload, no telemetry, no logging. This matters for sensitive tracking data (vehicle GPS, wildlife telemetry, vessel positions) and any compliance-bound workflow.

Related GIS Concepts

Temporal Cartography: The discipline of designing maps that communicate time-varying information.

Trajectory: A linestring representing the path of a moving object, with each vertex carrying a timestamp.

Space-Time Cube: A 3D representation where the vertical axis is time, used for visualising trajectories.

Raster Time Series: A sequence of rasters at different timestamps β€” animated separately from vector time sliders.

Event Density: A heatmap-style aggregation of features over a time window, useful when individual points are too noisy.

Frequently Asked Questions

What time formats does the animator accept?

ISO 8601 strings (2024-06-12T14:30:00Z), Unix epoch seconds, fractional years and common date strings. ISO 8601 UTC is recommended.

Can I animate interval features with start and end times?

Yes β€” pick interval mode and specify both attributes.

What is the difference between snapshot and trailing window?

Snapshot shows only features matching the current frame timestamp; trailing window shows features within the last N units before the current frame. Trailing produces continuous, readable animations for sparse data.

Can I export the animation as a video?

The slider exports individual frames; assemble them in a video editor or use a screen recorder to capture the playback.

How fast can the animation play?

Frames per second is configurable. Playback rate also depends on dataset size and browser performance.

Does the time slider work with raster time series?

Currently it focuses on vector layers. For raster time series consider exporting frames separately.

Related Tools on gis.tools

100% client-side processing - your data stays private and never leaves your device