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

Set an explicit filter-lang for cql searches #18

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

mmcfarland
Copy link

The new pgstac backend supports both cql-json and cql2-json. This
version of Explorer generates cql-json and needs to specify the version
so pgstac interprets it correctly.

Note that the current DEP deployment works without this patch, due to a default
setting in pgstac, but that may change intermittently due to stac-utils/pgstac#77 and
this patch would ensure it works regardless of the default setting.

You may also consider updating from the staging api endpoint to our
production endpoint, which is generally more stable:

REACT_APP_API_ROOT: "https://planetarycomputer-staging.microsoft.com"

The new pgstac backend supports both cql-json and cql2-json. This
version of Explorer generates cql-json and needs to specify the version
so pgstac interprets it correctly.
@hanbyul-here
Copy link
Collaborator

hanbyul-here commented Dec 22, 2021

Thank you so much for the pr, also for the suggestion to use production instead of staging endpoint!

@hanbyul-here hanbyul-here merged commit 6bb9edc into developmentseed:develop Dec 22, 2021
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

Successfully merging this pull request may close these issues.

2 participants