Skip to content

Is there a way to bypass the limit of 10,000 items? #737

Answered by bitner
glaroc asked this question in Q&A
Discussion options

You must be logged in to vote

There is no max limit set in pgstac.

The max limit of 10,000 comes from here.

Unconstrained large limits run the risk of causing memory issues or timeouts.

Pagination is definitely the preferred method to get more results than that. If you use pystac-client to interact with a pagination enabled stac api, the library completely takes care of the pagination for you and running an search returns an iterator that will transparently make all the paginated requests for you.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@jonhealy1
Comment options

@jonhealy1
Comment options

@glaroc
Comment options

@geospatial-jeff
Comment options

@vincentsarago
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vincentsarago
Comment options

@vincentsarago
Comment options

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