TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.18k stars 362 forks source link

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

Open leylines opened 10 months ago

leylines commented 10 months ago

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 commented 7 months ago

Any news on this?

nf-s commented 7 months ago

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

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

nf-s commented 7 months ago

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

leylines commented 7 months ago

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

nf-s commented 7 months ago

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