Skip to content
New issue

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

[CQL2-JSON] function's arguments should be passed using args not arguments keyword #76

Closed
vincentsarago opened this issue May 5, 2023 · 1 comment

Comments

@vincentsarago
Copy link
Contributor

in
https://github.com/geopython/pygeofilter/blob/9a2d0ea43ad15032cbe92208612cb5a5ffb990a9/pygeofilter/parsers/cql2_json/parser.py#LL107C69-L107C78

the function input is defined by using arguments while in the OGC specification it uses args

ref: https://docs.ogc.org/DRAFTS/21-065.html#functions

example 👇

{
  "op": "s_within",
  "args": [
    {"property": "road"},
    {
      "function": {
        "name":"Buffer",
        "args": [
          {"property": "geometry"},
          10,
          "m"
        ]
      }
    }
  ]
}
@vincentsarago
Copy link
Contributor Author

vincentsarago commented May 31, 2023

This might not be true. The examples use args but the CQL spec use arguments

I'll ask in the OGC repo first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant