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
Describe the bug We don't support all kinds of paginations, accroding to https://github.com/radiantearth/stac-api-spec/tree/master/item-search#pagination not only next is an acceptable pagination reference, other field names can be used.
next
To reproduce see https://github.com/pomadchin/stac4s/tree/fix/stac-client and the code sample below:
describe("Integration test") { it("should query by bbox") { val filtersString = """ |{ | "collections": ["sentinel-s2-l2a-cogs"], | "datetime": "2021-06-01T19:09:23.735395Z/2021-06-30T19:09:23.735395Z", | "bbox": [-92.2646, 46.6930, -92.0276, 46.9739] |}""".stripMargin val filters = parse(filtersString).flatMap(_.as[SearchFilters]).valueOr(throw _) val res = SttpStacClient(backend, uri"https://earth-search.aws.element84.com/v0/search") .search(filters) .take(30) .compile .toList .unsafeRunSync() println(res.length) } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
We don't support all kinds of paginations, accroding to https://github.com/radiantearth/stac-api-spec/tree/master/item-search#pagination not only
next
is an acceptable pagination reference, other field names can be used.To reproduce see https://github.com/pomadchin/stac4s/tree/fix/stac-client and the code sample below:
The text was updated successfully, but these errors were encountered: