The options to use when creating a filter using the ngeo.RuleHelper
service.
Properties:
Name | Type |
---|---|
dataSource |
ngeox.DataSource |
incTime |
boolean | undefined |
filter |
ol.format.filter.Filter | undefined |
filterRules |
!Array:.<ngeox.rule.Rule:> | undefined |
srsName |
string | undefined |
Members
dataSource: ngeox.DataSource
The data source from which to get the filterRules that will be used to create the OL filter object.
filter: ol.format.filter.Filter|undefined
A filter that is directly given the the method instead of creating one. Useful to automatically combine the time values.
filterRules: Array:.<!ngeox.rule.Rule:>|undefined
An alternative list of filter rules to use instead of those that are defined within the data source. Useful when one wants to get the data of a given filter without applying it to the data source.
incTime: boolean|undefined
Whether to include the data source's time values in the filter created. The
property that contains those values is timeRangeValue
. Defaults to false
.
When building a filter for WMS, it should not be included as it is given as
the TIME parameter of the query instead. When used for a WFS request, it
should be included in the filter.
srsName: string|undefined
The SRS name used with the spatial filters created by the method.