-
Notifications
You must be signed in to change notification settings - Fork 394
Open
Description
Add WMTS Time Dimension Support (Discrete Times + Timeline)
As part of the WMTS implementation supporting FAO infrastructure, I would like to contribute WMTS Time Dimension Support. Please review the following proposal:
Summary
Bring upstream WMTS to parity on time handling, matching the current branch:
- Parse WMTS
Dimensionfortime, including lists and ISO ranges (start/end/period). - Expand ranges to discrete instants (honoring
maxRefreshIntervals), expose them to the timeline/animation stack. - Select a default time (capabilities
Defaultif present, otherwise latest discrete time). - Pass the chosen time into WMTS requests (including REST
ResourceURLtemplates).
Acceptance criteria
- WMTS layer with a
timedimension shows a Terria timeline; stepping/animating updatestimein requests. - ISO time ranges in capabilities are expanded into discrete instants (bounded by
maxRefreshIntervals). - Default time comes from the capabilities
Defaultvalue when present; otherwise the most recent discrete time is used. - REST
ResourceURLtemplates receive the selectedtimevalue (single timestamp).
Testing
- Unit/integration:
- ISO range expansion to discrete times (start/end/interval) with
maxRefreshIntervalscap. - Default time selection logic (capabilities
Defaultvs latest). - Request construction:
timepropagated into REST template URLs and WMTS parameters.
- ISO range expansion to discrete times (start/end/interval) with
- Manual:
- Use a WMTS layer with time ranges; verify timeline appears, stepping updates
time, and tiles load. - Verify a range like
2018-01-01/2020-01-01/P1Mexpands and animates; check that the latest date is chosen when no default is specified.
- Use a WMTS layer with time ranges; verify timeline appears, stepping updates
Reactions are currently unavailable