Skip to content

Time dimension: Reload not working, when the last feature is not anymore valid #11803

@mahmoudadel54

Description

@mahmoudadel54

Description

an issue heppend with layer with time dimension data has been added and user filters layer using a date not included in the layer data -> the layer on map cache the old display not updating the layer.

The TOC identifies properly the server exception

<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xsi:schemaLocation="http://www.opengis.net/ogc https://sdigeo-free.austrocontrol.at/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException code="InvalidDimensionValue" locator="time"> Could not find a match for 'time' value: '2020-11-05T00:00:00.000Z/2020-11-05T23:59:59.999Z' </ServiceException>
</ServiceExceptionReport>

but when rendering exceptions are reported the map state is not updated as it should be and the layer tile in the browser cache is used.

The problem is quite clear, probably the layer should be re-rendered in map, when a rendering exception occurred, to update its state accordingly.

How to reproduce

  • Open new map
  • add layer with time dimension, explore the data well
  • select an existing date from Effective date component and explore the filter on map
  • select a date that not existing on the layer data and see the layer on the map, you will see the previous filtered features still there and no update for layer happened

Expected Result

The two states (TOC - Map) should be consistent and the layer should be refreshed on map hidding the tiles as there is no data matched with the selected date.

Current Result

The displayed cached tiles still shown not updating the layers clearing the previous filtered tiles.

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions