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

Tiling imagery at full resolution #49

Open
dhdemerson opened this issue Jun 25, 2018 · 2 comments
Open

Tiling imagery at full resolution #49

dhdemerson opened this issue Jun 25, 2018 · 2 comments

Comments

@dhdemerson
Copy link

I understand that this use case is likely not covered by the current specification, but I wanted to document the need, and also see what contributors here recommend for satisfying the requirements as closely to the specification as possible.

I have raster imagery for a city that is relatively high resolution that needs to be tiled and displayed at the full source resolution at maximum zoom. Naturally the meters per pixel resolution of my source imagery does not align with the meters per pixel resolution of an integer zoom level at the latitude for the map.

To display imagery at its full source resolution I need to use a fractional zoom level that aligns the meters per pixel resolution of the map with the source imagery's meters per pixel resolution. Ideally the source imagery is tiled at the same fractional zoom level and then served to the client when at that maximum fractional zoom.

My current thought is to tile the imagery at the appropriate fractional zoom (to preserve resolution) as well as for each integer zoom below that fractional zoom. Let mapbox tile the imagery at all zoom levels other than maximum and when at maximum zoom have application code request and overlay the fractional zoom tiles manually. Not pretty but it would satisfy the requirements.

Do contributors here have any recommendations for how to go about this? Or potential alternatives? Any chance a future version of the specification would handle fractional zoom tiles?

@andrewharvey
Copy link

Mind if i ask why you need it at native resolution? Why you can't use the ceil zoom?

@dhdemerson
Copy link
Author

dhdemerson commented Jun 25, 2018

In this case I am working with very precisely generated raster imagery data and displaying the highest resolution possible to our users is a high priority.

Edit: By ceil zoom do you mean overzooming and scaling?

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

2 participants