ngsi-timeseries-api icon indicating copy to clipboard operation
ngsi-timeseries-api copied to clipboard

Equality support in geo queries

Open c0c0n3 opened this issue 6 years ago • 3 comments

PR #111 implements full support for NGSI geo queries. However, queries with the equals geo relationship operator are disabled for the time being---QL responds with a 422 NotSupportedQuery as required by the NGSI spec. The reason for shape equality being disabled is an issue with the underlying Crate query which uses the within function. This function is supposed to support arbitrary shapes but only seems to work when the first argument is a point. We opened an issue in the Crate repo about it. Hopefully it'll get fixed, at which point all we'll need to do is:

...and voila, geo equality is back in!

c0c0n3 avatar Dec 13 '18 09:12 c0c0n3