We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In POST /search.
/search
If using intersects, POINT geometry, and filter to get a direction, the returned matched value is 12.
POST /search
{ "intersects": { "type": "Point", "coordinates":[ 10.4064, 55.3951 ] }, "filter-lang": "cql-json", "filter": { "and": [ {"eq": [ { "property": "direction" }, "east" ] } ] } }
But if using only filter and there specify a intersects and a direction the returned matched is 67.
POST /search { "filter-lang": "cql-json", "filter": { "intersects": [ { "property": "geometry" }, { "type": "Point", "coordinates": [ 10.4064, 55.3951 ] } ], "and": [ {"eq": [ { "property": "direction" }, "east" ] } ] } }
{ "filter-lang": "cql-json", "filter": { "intersects": [ { "property": "geometry" }, { "type": "Point", "coordinates": [ 10.4064, 55.3951 ] } ], "and": [ {"eq": [ { "property": "direction" }, "east" ] } ] } }
The text was updated successfully, but these errors were encountered:
These are not valid cql filters. The length of the array of anded items must be at least 2.
and
However it would be nice if the API returned an error in this case: #47
Sorry, something went wrong.
No branches or pull requests
In POST
/search
.If using intersects, POINT geometry, and filter to get a direction, the returned matched value is 12.
POST /search
{ "intersects": { "type": "Point", "coordinates":[ 10.4064, 55.3951 ] }, "filter-lang": "cql-json", "filter": { "and": [ {"eq": [ { "property": "direction" }, "east" ] } ] } }
But if using only filter and there specify a intersects and a direction the returned matched is 67.
POST /search
{ "filter-lang": "cql-json", "filter": { "intersects": [ { "property": "geometry" }, { "type": "Point", "coordinates": [ 10.4064, 55.3951 ] } ], "and": [ {"eq": [ { "property": "direction" }, "east" ] } ] } }
The text was updated successfully, but these errors were encountered: