在通用查询语言中使用 DURING 谓词的日期过滤器

Date filter using DURING predicate in Common Query Language

如何使用像 DURING

这样的谓词在通用查询语言中应用日期范围过滤器

时间谓词指定时间值表达式与时间或时间段的关系。语法是:

Expression DURING Time Period 

Describe - Tests whether a time value is during a time period

例如:

ts DURING 2016-02-26T00:00:00.000Z / 2017-02-27T23:59:59.999Z

其中"ts"是时间表达式(或保存日期时间值的键名)

有关时间谓词基于持续时间的查询的更多信息,请参阅以下内容link http://docs.geoserver.org/latest/en/user/filter/ecql_reference.html#temporal-predicate