We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The stack method currently supports numerous forms of data for the items parameter:
stack
items
def stack( items: Union[ItemCollectionIsh, ItemIsh], ... ItemSequence = Sequence[ItemDict] ItemIsh = Union[SatstacItem, PystacItem, ItemDict] ItemCollectionIsh = Union[ SatstacItemCollection, PystacCatalog, PystacItemCollection, ItemSequence ]
However, one thing it doesn't support is a Sequence[PystacItem]. This would allow clean integration with pystac-client:
Sequence[PystacItem]
stack = stackstac.stack(list(Client(...).search().items()))
(also the get_all_items() method in the docs is now deprecated in favor of the items() iterator)
This change would also require a change to:
def items_to_plain(items: Union[ItemCollectionIsh, ItemIsh]) -> ItemSequence:
to handle the case where the Sequence is either a dict representing an item or a pystac.Item.
The text was updated successfully, but these errors were encountered:
Support sequence of Items
Item
c56dbb7
Closes #163
b6b496b
74d23d9
🎉
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The
stack
method currently supports numerous forms of data for theitems
parameter:However, one thing it doesn't support is a
Sequence[PystacItem]
. This would allow clean integration with pystac-client:(also the get_all_items() method in the docs is now deprecated in favor of the items() iterator)
This change would also require a change to:
to handle the case where the Sequence is either a dict representing an item or a pystac.Item.
The text was updated successfully, but these errors were encountered: