52North / helgoland

Visual Exploration and Analysis of Sensor Web Data
Apache License 2.0
60 stars 45 forks source link

Message "The time range can not be greater then one year" #41

Open opeeters opened 7 years ago

opeeters commented 7 years ago

When selecting a data for a time range of more than a year, a message "The time range can not be greater then one year" is displayed. Yet the client does actually fetch the data. In my opinion, it should be possible to select data for longer than a year. The message could maybe be replace with a warning that selecting data for a long period may take long to load?

ridoo commented 7 years ago

Via configuration an API provider can limit access to data a client may request in one shot. It certainly depends on the actual data and hardware how many data a provider may allow. That's why this configuration exist. Have a look in the spring config  However, the client could send several requests in case of such a limit exists. A warning message then would be right in place then.