You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're encountering stems from missing arguments in the t_intersects() and s_intersects() functions. It appears that the tutorial inadvertently omitted these parameters, likely due to the requirement of double curly braces ({{...}}) to properly reference the variables time_range and ashe.
CQL2 utilizes non-evaluated expressions to construct complex queries using R syntax. Without the double curly braces, the names provided will be interpreted as feature properties. For example, using t_intersects(datetime, time_range) would still be syntactically correct, but it will not return any results because time_range will be interpreted as NULL inside the items, as it does not exist as a property. To refer to the variable time_range, you need to escape the expression by enclosing it within double curly braces {{...}}.
Using double curly braces ensures that the actual variables time_range and ashe are correctly passed to the functions t_intersects and s_intersects.
Please let us know if you have any further questions or issues.
I was following along the code in https://stacspec.org/en/tutorials/2-using-rstac-and-cql2-to-query-stac-api/ and it seems that this part is not running:
Not sure I'm doing something wrong or if it is a bug
Complete code :
The text was updated successfully, but these errors were encountered: