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

Define CQL2-based functions #753

Open
fmigneault opened this issue Nov 14, 2024 · 0 comments
Open

Define CQL2-based functions #753

fmigneault opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
project/OGC-GDC Developments related to OGC GeoDataCube triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

Description

Adds a /functions endpoints (similar to /processes) that returns contents as defined in CQL2 functions.

  • /req/filter/get-functions-operation
  • /req/filter/get-functions-response-json

Example:

{
   "functions": [
      {
         "name": "min",
         "arguments": [
            {
               "type": ["string","number","datetime"]
            },
            {
               "type": ["string","number","datetime"]
            },
         ],
         "returns": ["string","number","datetime"]
      },
      {
         "name": "max",
         "arguments": [
            {
               "type": ["string","number","datetime"]
            },
            {
               "type": ["string","number","datetime"]
            },
         ],
         "returns": ["string","number","datetime"]
      },
      {
         "name": "geometryType",
         "arguments": [
            {
               "type": ["geometry"]
            }
         ],
         "returns": ["string"]
      }
   ]
}

References

@fmigneault fmigneault added the triage/feature New requested feature. label Nov 14, 2024
@fmigneault fmigneault self-assigned this Nov 14, 2024
@fmigneault fmigneault added the project/OGC-GDC Developments related to OGC GeoDataCube label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project/OGC-GDC Developments related to OGC GeoDataCube triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant