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

Create overzooming microservice #13

Open
rmarianski opened this issue Nov 8, 2016 · 0 comments
Open

Create overzooming microservice #13

rmarianski opened this issue Nov 8, 2016 · 0 comments

Comments

@rmarianski
Copy link
Member

We do still receive some requests for tiles > 16. We will stop handling requests for tiles > 20, but for the remainder it might be worth having a separate microservice that tries to fetch the z16 tile, and then "cuts out" the requested tile.

This one will probably need to be in python, because it'll need to decode the tile, perform geometry intersects operations, and then re-encode. We could grow the ability to perform these operations in a different language like golang, but I'd be worried about format encoding inconsistencies. But if the encoding logic ends up getting pushed to C across all formats we can just re-use it in different languages :)

We could also just do this right in the tileserver process, which would be more expedient in the short term. Where this would immediately help us is it would allow us to stop adding tiles greater than 16 to the toi. This means that when we prune the toi we could eliminate these tiles. It also would eliminate a performance issue we have.

@nvkelso nvkelso transferred this issue from another repository Feb 21, 2019
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