Open-EO / openeo-geopyspark-driver

OpenEO driver for GeoPySpark (Geotrellis)
Apache License 2.0
26 stars 4 forks source link

make property filter operators explicit #776

Open bossie opened 6 months ago

bossie commented 6 months ago

The way the properties argument of load_collection is currently passed throughout the application is problematic. Historically it assumes an exact match of a single value ("eq") but that no longer holds; the actual operator is lost along the way (in most cases).

Some related issues:

bossie commented 6 months ago

It seems to boil down to getting rid of this flatten_eqs parameter and passing the operator around as well:

https://github.com/Open-EO/openeo-geopyspark-driver/blob/630439c6170c9ec5668e8d815b9fe0818287f430/openeogeotrellis/layercatalog.py#L295-L310

bossie commented 5 months ago

Not fixed, just some preparatory work.