terriajs icon indicating copy to clipboard operation
terriajs copied to clipboard

Increase WMS `maxRefreshIntervals` to 10,000 and show warning if limit is reached

Open leylines opened this issue 1 year ago • 5 comments

Version terriajs: latest

Example: Sentinel Data from eumetsat.int

https://view.eumetsat.int/geoserver/copernicus/daily_sentinel3ab_olci_l1_rgb_fulres/ows?service=WMS&request=GetCapabilities&version=1.3.0

2020-02-17T04:03:00.000Z/2024-01-09T10:22:00.000Z/PT1H41M

The Timeslider in terriaMap show only dates from Februar to April 2020.

Regards,

Jörg

leylines avatar Jan 09 '24 16:01 leylines

Any news on this?

leylines avatar Mar 21 '24 09:03 leylines

Hi @leylines

Sorry for the delay in response. This is due to the default limit of timesteps generated from time-interval strings being set to 1000

  • https://github.com/TerriaJS/terriajs/issues/1365

This can be increased by setting the maxRefreshIntervals property on your WMS item in your Terria JSON catalogue.

We have a ticket tracking this issue here

  • https://github.com/TerriaJS/terriajs/issues/1666

nf-s avatar Mar 22 '24 00:03 nf-s

I think we should increase the default limit to 10,000 - and also show a warning message if this limit is reached. We could also include a button to "increase the limit" or something like that

nf-s avatar Mar 22 '24 00:03 nf-s

Thank you, this is very useful, i got it to work. Is there a way to define the number of intervals in reverse? For example, 1000 intervals would be sufficient if they can be defined from the last actual measurement.

Thank you and regards,

Jörg

leylines avatar Mar 25 '24 09:03 leylines

No problem!

Currently there is no way to define the number of intervals in reverse - but I think that might be a better default - in my mind it makes sense to show the latest 1000 intervals if they list has been truncated

nf-s avatar Mar 26 '24 03:03 nf-s