Select to view content in your preferred language

OGCFeatureLayerView filters.timeExtent does not use temporal filtering on the service

203
1
09-04-2024 01:28 AM
123Productbv
New Contributor

We use OGC feature API's and have temporal data.

When adding the service to a javascript map, our expectation was that setting the OGCFeatureLayerView's filters.timeExtent would trigger a server-side filter since temporal filtering is part of the core specification . However, this is not the case. The SDK will use client-side filtering.

With the filtering part of the specification now also released, maybe it's time to revisit the OGC layers and implement server-side filtering?

0 Kudos
1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

At this time, timeExtent is not supported on OGCFeatureLayer and OGCFeatureLayerView. We will update the OGCFeatureLayerView.filter document to reflect this information.

You should be able to use OGCFeaturelayer.customParameters property to filter your data based on the temporal extent. 

0 Kudos