Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time layers filter only once #3419

Closed
ybolognini opened this issue Jan 19, 2018 · 2 comments
Closed

Time layers filter only once #3419

ybolognini opened this issue Jan 19, 2018 · 2 comments
Milestone

Comments

@ybolognini
Copy link
Member

ybolognini commented Jan 19, 2018

Tested on demo server and github.io

  • Clean start
  • "Filters" theme
  • Activate only "Temps OSM popup interval 2" from group "Filtres mixés"
  • Zoom out to have a wider view and more points
  • Select a smaller interval (for instance 2012 to 2013)
  • Number of points displayed is smaller --> OK
  • Select back a larger interval (for instance 2003 to 2013)
  • Number of points stays the same --> It should go back to the initial number of points

Looks like Date filters work. So this problem would be only on time interval in the layer tree?

More tests...

It looks like this problem appears only for certain time intervals. Is this linked to the number of points displayed? When displaying a lot of points from the "Temps OSM popup interval 2" layer, it works with intervals [1/1/2013 - 1/12/2013], [1/1/2012 - 1/12/2013] but it doesn't work with interval [1/1/2006 - 1/12/2013].

@ybolognini ybolognini added this to the 2.2 milestone Jan 19, 2018
@ybolognini ybolognini changed the title Time layers filters only once Time layers filter only once Jan 19, 2018
@sbrunner
Copy link
Member

We get the server response...:

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException code="InvalidDimensionValue">
msWMSApplyTime: WMS server error. Time value(s) 2000-01/2013-12 given is invalid or outside the time extent defined (2006-01/2013-12/P1M).
</ServiceException>
</ServiceExceptionReport>

@sbrunner sbrunner modified the milestones: 2.2.2, 2.2 Jan 24, 2018
@fredj
Copy link
Member

fredj commented Apr 23, 2018

This is because the min and max date are not correctly passed to the jquery ui datepicker.
Patch to come.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants