radiantearth / stac-browser

A full-fledged UI in Vue for browsing and searching static STAC catalogs and STAC APIs
https://radiantearth.github.io/stac-browser
ISC License
279 stars 140 forks source link

Supporting CQL Advanced Operators #495

Open mngspb opened 2 weeks ago

mngspb commented 2 weeks ago

Hi Matthias,

I noticed that CQL advanced operators (e.g.: LIKE) has been supported since the version 3.0.1. I'm using STAC Browser (https://radiantearth.github.io/stac-browser) version 3.2.0 to point to a STAC API that is supporting CQL advanced operators BUT the LIKE operator is not shown in the “additional filters” section.

Could you tell me how to get the LIKE operator (and BEWTEEN, IN operators) shown?

Thank in advance, Minh

m-mohr commented 1 week ago

STAC Browser checks for http://www.opengis.net/spec/cql2/1.*/req/advanced-comparison-operators * = wildcard

You are exposing http://www.opengis.net/spec/cql2/1.0/conf/advanced-comparison-operators in https://emc.spacebel.be/conformance.

That's the difference. I quess your conformance URI is correct, so this needs to be confirmed and fixed. Or we check for both...

Don't have the time to confirm right now, so PRs are welcome. Code is in the src\components\ApiCapabilitiesMixin.js