0

I have a WMS layer from PostGIS data store. Setup is below on a figure. I have two attributes start and end of interval.

enter image description here

Temporal extent of layer is obviously calculated from start attribute. See two figures below:

enter image description here

enter image description here

Geometry viewer from PostGIS shows all the features. See figure below.

enter image description here

If I go to preview layer in Geoserver without time filter I have some features missing (with most recent end timestamp 2018-12-18T00:00:00).

enter image description here

If I include time filter which corresponds to temporal extent of the layer (i.e. &time=2018-10-05T00:00:00.000Z/2018-12-18T00:00:00.000Z/PT12H), than I get all the features:

enter image description here

My question is: Why are all the features not shown when I set that latest features should show. Why GS is ignoring features with latest timestamp? How can I get all the features without time filter?

1

It is because the START is also defaulting to the largest value in the domain, in the same way as the END is. So you only get features that occured on the last day of your data set.

2

Ian's answer is correct, but to rephrase the same concept, it's because when you enable time, time filtering is always present, even if you don't specify it in the request, and if you don't specify it, it's using the default time value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.