Closed guy1ziv2 closed 4 years ago
There is nothing in meta-data to search for, but this is probably not so difficult as a post API call. The Data API returns polygons so we can intersect those with our AOI and filter the IDs based on that?
I tried to implement this on line 193+ but it still give Planet images w/ small overlap, not sure why....
@gilles-morain maybe you have some ideas?
@guy1ziv2 the idea would be to filter out images not providing enough coverage inside the polygon, right ?
Yes. I think, however, that the URLs we generate dont actually filter to the set of image_ids as we think.
Actually, it is the Explorer web UI that does the additional filtering when you use the 'Area Coverage' filter. Hitting Apply filters does not send a new search request (as the browser debug tools show) => all images returned by the possible API search criteria (which do not include % of AOI coverage) are returned into the left pane, so we do not have control of this (unless building a new web app). What works though is the left/right selection based on the % of AOI coverage. If you try e.g. http://127.0.0.1:5001/api/v1/notice?id=3&db=4&da=6 you will see that even though the left pane returns additional images, the outer bounds used for initial comparison map only use the min/max images matching the minimal intersection threshold. I suggest we close this issue if you don't mind
I guess so...
Guy Ziv
On Mon, Oct 26, 2020 at 11:22 AM Gilles Morain notifications@github.com wrote:
Actually, it is the Explorer web UI that does the additional filtering when you use the 'Area Coverage' filter. Hitting Apply filters does not send a new search request (as the browser debug tools show) => all images returned by the possible API search criteria (which do not include % of AOI coverage) are returned into the left pane, so we do not have control of this (unless building a new web app). What works though is the left/right selection based on the % of AOI coverage. If you try e.g. http://127.0.0.1:5001/api/v1/notice?id=3&db=4&da=6 you will see that even though the left pane returns additional images, the outer bounds used for initial comparison map only use the min/max images matching the minimal intersection threshold. I suggest we close this issue if you don't mind
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kevinlacaille/planet_hack_2020_deforestation/issues/19#issuecomment-716484501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP66O7DDVGU4GKLALLLZOLSMVLVXANCNFSM4S3LSCYA .
If possible, set a (configurable) threshold on % of area covered by Planet images within polygon?