-
Notifications
You must be signed in to change notification settings - Fork 32
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
STAC search pagination is applied before query filtering #579
Comments
Hi @christophfriedrich, |
Hi Ariana, thanks for the quick reply and explanation! Indeed I only looked at the That means that I can't be sure that all possible results are included, unless I increase the It's nice to hear you're already aware of the issue and keen to fix it -- is there any timeframe when this will be corrected? I wouldn't even care that much about the Is |
Sorry, I should have been clearer in my explanation - but yes, that's the essence of the problem. If you paginate through the results you will eventually manage to retrieve all matching datasets but obviously that's not ideal. And unfortunately, all the extensions are essentially broken in the same way for the exact same reason. |
No worries, after I realised it I kind of read it between the lines too. And regarding the timeframe you gave quite a good answer already, it's nice to hear that it's the next thing being worked on and I absolutely understand that changing something like this might induce bigger changes to the architecture that are not done in a day. Better do it thoroughly than rushing it. For me it's not super urgent, just wanted to know whether it's likely to stay like this for months to come or fixed soon™️Looking forward to it! :) |
Hi, thanks for working on this @Ariana-B -- is there a roadmap on when a release can be expected that incorporates your fixes? :) |
Unfortunately I'm not certain - that's dependent on when @omad is able to provide a review, as well as other fixes needing to be incorporated into the next release. |
Regarding STAC API extensions, the README says:
From this information, I figured that to limit my results by maximum cloud cover, I need to
POST
to/stac/search
with a body like this:But the
numberMatched
of the returned result is the same as when I omit thisquery
. This leaves me wondering that maybe my JSON is wrong? Adding an example to the README explaining how to use the query API would really help to rule this out, as right now I'm not sure whether it's a problem with my request or my data. I tried various variants of the request (e.g. adding"gte": 0
), but none seems to do anything. But also my data does have theeo:cloud_cover
attribute, which also is included in theproperties
of the returnedfeatures
, so I don't really see a problem there either...The text was updated successfully, but these errors were encountered: