Skip to content

Client libraries have to do too many requests #101

@m-mohr

Description

@m-mohr

From a Slack discussion:

I wrote:

Is it to be expected that the browser initiates ~1300 requests for a single zoom level change?

@ahocevar responded:

Unfortunately yes, because in the current version of the spec there is no way to expose the codec-specific sharding in a generic way so a sensible tile grid per resolution could be created. Earlier versions of GeoZarr had a TileMatrixSet to give clients a hint of a suitable tile grid, but the zarrs we found with that TileMatrixSet specified did not align  well with the sharding of the codec either.
[...]
Anyway, I looked at the sharding codec chunk layouts, and it would definitely be doable to advertise a TileMatrixSet that aligns exactly with the shards.

We should work on a solution for this. 1000+ requests are inacceptable, especially when you have lower bandwitdh/latency connections.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions