Time series

Sarkoa can show how something changed over time, and there are two different ways to do it. Which one you want depends on how your data arrived.

Your data looks like Use
Many files, one per date. Monthly drone flights, weekly snapshots, a run of satellite scenes Time series
One file with a date column in it. A survey table, an events export, sensor readings Timeline

The distinction is worth getting right at upload, because switching later means reprocessing.

Time series

A Time series is a container holding dated entries. Each entry is a whole file: one orthophoto, one snapshot of a boundary layer, one day's readings. The map shows one entry at a time and swaps between them as you move the scrubber.

This is the option for rasters. A time-lapse of drone flights or satellite passes has to be a series, because each date is genuinely a separate image.

Building a series

At upload, set Time to Time series, then either pick an existing series or start a new one. You set the capture time for each file. Sarkoa suggests one from the filename when the filename has a recognisable date in it, which most exports do.

From the CLI:

sarkoa series create "Site flights 2026"
sarkoa series append SERIES_ID ./2026-03-14.tif --captured-at 2026-03-14
sarkoa series append SERIES_ID ./2026-04-11.tif --captured-at 2026-04-11
sarkoa series list

--captured-at takes an ISO date or timestamp. If an entry covers a span rather than an instant, add --period-start and Sarkoa treats it as a range.

Appends are safe to retry. Pass --idempotency-key and a repeated call will not create a duplicate entry. Large files resume if the connection drops.

A series on another world

A series and its frames share one world. Name it when you create the series, because a series has no file to detect it from:

sarkoa series create "Tycho flights" --celestial-body moon

With the MCP server, pass celestial_body to create_series. In the upload dialog, the World list sets it for a new series and locks once you pick an existing one. A series created without naming a world is on Earth, including one created with auto.

Every frame then takes the series' world. A frame on a different world is refused with celestial_body_mismatch, and so is a request for a series whose name is already in use on another world.

Vector entries: turn the in-file timeline off

A vector upload looks for a date column and, when it finds one, builds a timeline inside that file. For a series entry that is usually the wrong layer of time: --captured-at already says where the frame sits on the scrubber, and a column like updated or acquired_at describes the features, not the frame. Add --temporal-mode off so each entry stays an ordinary snapshot:

sarkoa series append SERIES_ID ./perimeters_2026-03-14.geojson \
  --captured-at 2026-03-14T12:00:00Z --temporal-mode off

Leave it on only when one entry genuinely holds its own span of feature timestamps.

Styling a series

Style the series itself, not the individual entries. The style applies to every frame, so the colours stay put while you scrub instead of flickering as the map swaps files.

That means a series works best when its entries are alike: all rasters of the same kind, or all vectors with the same attributes. A series mixing rasters and vectors will style from the most recent entry that can be styled, which is rarely what you want.

Putting one on a map

Add the series to a custom map the same way you add any other layer. The scrubber appears automatically. Filters and thresholds you set on the series keep working as the frames change.

In the layers panel, the eye on the series row turns the whole series off. Hiding a different layer next to it leaves the series on. Expand the series if you want to pin one frame; that does not hide your other layers.

Showing the change between two dates

When a visitor switches the time slider from Point to a range, a raster series normally shows the last date in the range. A series of measurement rasters (values such as millimetres or degrees, not photographs) can show the change between the two dates instead: the frame at the end of the range minus the frame at its start.

Turn it on in the map builder: open the series layer's style, and under When a range of dates is selected choose Show the change between the two dates. Pick a colour ramp and a range for the change. A change can be negative even when the values never are, so a diverging ramp centred on zero (such as red to blue) usually reads best; Centre on zero sets that up. Values beyond either end take the end colour.

While a range is selected, the time readout says Change: and names the two dates being compared, and the legend shows the change ramp with those dates. If the range starts before the first date, the change is measured from the first date. If only one date falls inside the range, the map shows no change. Point mode is not affected.

Two things to know:

  • It suits frames that are running totals, such as ground movement since the first date, and values you want to compare before and after, such as vegetation or temperature.
  • For a size that is never negative, such as how far the ground moved in any direction, subtracting two sizes understates the movement: ground that moved 10 mm east and then 10 mm north is 14 mm from where it started, but it moved 10 mm in between. Give the frames the signed parts as extra bands (for example the size, then east, then up) and set the change's band math to sqrt(b2*b2+b3*b3): each part is subtracted first and the size of the difference is drawn.
  • Visitors reach it through the Point / range switch on the time slider. If you hide that switch and open the map on a single date, nobody sees the change. The builder's Timeline section warns you when that happens.

Through the API, MCP or CLI, it is rasterStyle.change on a continuous style: {"vmin": -20, "vmax": 20, "ramp": "rdbu"}, or for a size {"vmin": 0, "vmax": 15, "ramp": "ylorrd", "expr": "sqrt(b2*b2+b3*b3)"}. The legend's wording for it is legend.change with an optional title, minLabel and maxLabel.

Charting an area over time

A raster series on a map can be charted inside any area, frame by frame. Open the map's tools and choose the chart button (Chart an area over time). The card says which layer it will chart; if the map has more than one, pick one first. Then either:

  • Draw the area. Click around it, such as part of a field, and click the first point (or press Enter) to close it.
  • Use a shape on the map. Choose Use a shape on the map, then select a shape the map already draws, such as a field boundary. The whole shape has to be on screen; zoom out if it is not. The chart takes the shape's name from its label. Where shapes overlap, select the outline of the one you want, or select the same spot again to step to the shape underneath. Selecting stays on until you turn the button off to draw again.

The results open in a panel along the bottom of the map. While the frames are read, the chart is already there at its final size with a marker at every frame's date, and the area on the map pulses until the numbers arrive.

The chart shows the mean of the area in every frame, with a band one standard deviation either side. Beside it are the peak and the low with their dates, the change from the first frame to the last, and how many frames the line is drawn from. From there you can:

  • Preview a date. Point at the chart and the map shows that frame; move away and it goes back. Select a point, or the peak or the low, to keep the map on that date.
  • Zoom in. Drag across the chart to keep only those dates, or set the two date fields. Show all dates brings the whole series back. The headline numbers follow the dates shown.
  • Compare areas. Choose Compare with another area, then draw or select the next one. Up to four areas share the chart, each a line in its own colour with a matching outline on the map. Type over a name to change it, and select an area's colour to make its numbers the ones shown.
  • Choose the line. The mean with a band one standard deviation either side, or the median with a band covering the middle half of the pixels. The median is steadier when a few pixels are extreme.
  • Tidy the line. Hide frames with too few valid pixels (cloud, missing data), or add a trend line.
  • Read the table. Switch from Chart to Table for the same numbers by date. Select a date to show it on the map.
  • Share and export. Download the frames shown as CSV, save the chart as an image, or copy a link that reopens the map with the same areas and settings. Print the map with this chart opens the print composer with the areas outlined on the map and the chart on the sheet, where you can move it.

Drag the grip on the panel's top edge to make the chart taller. Drag a corner of the area to reshape it, or click the map to draw a new one.

If the layer is styled with band math, such as NDVI from a Sentinel-2 series, the chart reads that expression; otherwise it reads the band the layer is coloured by. Class rasters such as land cover are not charted. Members of the map's organization can always use the chart; for everyone else, turn on Let visitors chart an area over time in the map builder.

Counting features over time

The same tool works on a vector layer with a Timeline, such as a file of earthquakes with a date column. There the chart counts the features inside the area in each period: a day, a week, a month or a year, chosen from the dates the layer spans. A point counts when it lies inside the area and a line when any part of it does. A shape counts when it and the area share at least a tenth of the smaller of the two, so a neighbouring shape that only meets the area along its border is left out: picking a health zone or a county as the area charts that zone, not its neighbours too.

Under Measure you can chart a numeric field instead of the count, as its largest value, its mean or its total per period. The fields offered are the numeric ones the layer shows in its popup. Running total adds the periods up, which shows when a cluster of events began. Comparing areas, the table, the link and printing all work the same way.

It works on any vector upload, whatever its format or size. A layer uploaded before late October 2026 and not reprocessed since is the exception: it is counted only if it was uploaded as GeoJSON of 32 MiB or less. Reprocess the file to lift that.

Choosing your dates

A scrubber is only as good as its spacing. Twelve monthly flights read well. Twelve monthly flights plus one scene from four years ago mostly gives you a long empty stretch and a jump at the end.

If you have a sparse historical archive and a dense recent run, they usually belong in two series rather than one.

Open the three-date Marconi Beach map. Use Time to visit September 25, 2024, October 23, 2024 and January 23, 2025. Keep the parking loop in view. October shows the exposed pavement, while January has bright patches around the loop and on the beach. You can inspect all three flights through one bookmark.

Download the September, October and January image crops. In Files, create an image time series and append each crop with its capture date. The sample uses midnight UTC as a date label. Consult the survey metadata for the flight times. Add the series as one layer in Custom maps, save a view at Marconi Beach, choose the viewing audience and copy the map link.

For each subsequent flight, append it to the same series. Reopen the original bookmark and switch back to an earlier survey. If a frame appears on the wrong day, compare its capture timestamp and the display time zone with the source record. WebODM publishing steps · Two-date swipe example · USGS source surveys

Timeline

A Timeline puts time inside a single file. Sarkoa reads a date field from your data, and the map lets you scrub through the file, showing only the features that fall inside the current window.

Use it when one file already contains the time dimension: an incident log with a reported date, a wildlife survey with observation timestamps, a table of readings.

Timeline uploads need an Essential plan or above. Playback of a file that already has a timeline is not restricted, so anyone you share the map with can use the scrubber regardless of their plan.

Turning one on

At upload, set Time to Timeline. Sarkoa looks for date and time fields in the file and prepares the layer for playback.

If your file has more than one date column, say created_at and resolved_at, name the one you want. Automatic detection has to pick something, and it will not always pick the field your map is about.

Vector formats only. To put a timeline on imagery, use a Time series instead.

KML and KMZ

KML has its own time tags, and Sarkoa reads them. A placemark with a <TimeStamp> appears at that moment. A placemark with a <TimeSpan> stays on the map from its <begin> to its <end>, so a road closure or a fire perimeter shows for as long as it lasted. A span with no end lasts to the latest time in the file, and one with no start begins at the earliest, the way Google Earth reads an open span. Turn on Timeline at upload and there is no field to choose.

Which one, in practice

Both end up as a scrubber on the map, so it can be hard to tell from the outside which you are looking at. The rule of thumb:

  • Separate files that arrived on separate days are a Time series.
  • One file with a date column is a Timeline.
  • Rasters are always a Time series.
  • If you would have to merge your files into one before uploading, do not. That is what a series is for.