Skip to content

How to Find the Intersection Between Two pystac Item Collections? #289

Answered by TomAugspurger
elliesch asked this question in Q&A
Discussion options

You must be logged in to vote

Do you want a single geometry as your output? Or a collection of geometries (where each on is like the intersection between two input items)?

I think the second one would be a spatial join, which is implemented in geopandas: https://geopandas.org/en/stable/gallery/spatial_joins.html. We have a small example of geopandas + STAC at https://planetarycomputer.microsoft.com/docs/quickstarts/reading-stac/#Analyzing-STAC-Metadata.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@elliesch
Comment options

Answer selected by elliesch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants