This seems to be a very useful new feature for CLI SDK to allow filtering assets by areal coverage of AOI in the asset. Right now, it seems you can only do this filter yourself by calculating the coverage.
#cli #sdk
Hi @lc94,
Can you please share the geojson file or coordinates for your AOI to test your case? Also, which version of the planet CLI are you using? (you can check it running planet --version)
Hi @Miguel Castro Gomez ,
Thank you so much for your response! I really appreciate your willingness to help.
I'm using planet CLI version 2.1.0. As for the AOI, here are the coordinates in geojson format:
{"type":"FeatureCollection","features":e{"type":"Feature","properties":{},"geometry":{"coordinates":es"12.385063194934617,41.741856778369936],312.385063194934617,41.68776816425759],512.492736763670166,41.68776816425759],512.492736763670166,41.741856778369936],312.385063194934617,41.741856778369936]]],"type":"Polygon"}}]}
It appears that the web interface of Planet is more effective at creating composites for AOIs compared to the Python API or CLI.
Let me know if you need any further information. Thanks again for your assistance.
Best regards,
Lorenzo
Hi @lc94,
By running a similar search to yours, where I specified the AOI, TOI, and cloud cover:
planet data filter \
--date-range acquired gte 2022-02-27 \
--date-range acquired lte 2022-03-02 \
--range cloud_cover lte 0.2 \
--geom /Users/miguel.castro/Documents/aoi_community.geojson \
| planet data search PSScene \
--filter - \
--pretty
you will get a list of products intersecting your AOI. While in Explorer you can filter by coverage area %, that is not a built-in capability in the CLI or Data API. You could combine the product footprints with your AOI and derive your own coverage % parameter to order only those products above a given threshold of interest.