Skip to content
New issue

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

Raster tile server responds badly to non-existent tile #25

Open
davenquinn opened this issue Nov 10, 2023 · 0 comments
Open

Raster tile server responds badly to non-existent tile #25

davenquinn opened this issue Nov 10, 2023 · 0 comments

Comments

@davenquinn
Copy link
Member

It appears that when we request a raster tile that is outside the bounds of the queried raster image, we return a 502 status code, when it should be a 404 (probably)?

https://tileserver.development.svc.macrostrat.org/cog/tiles/10/193/388.png?url=https://s3.macrostrat.chtc.io/map-datastore/Provo30x60_OFR-586DM.tif

This wreaks havoc with certain clients, especially the Mapboard app, which goes into a cascade of request retries.

We should also store raster bounding boxes to do a better job of tiling together imagery. We may be getting 502s because the tileserver only knows that it can't read the requested file, not that it actually doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant