-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
COG skewed at lower zoom levels #114
Comments
This is likely a duplicate of #77. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
COGs are skewed at lower zoom levels. This only happens when the data gets loaded directly using the URL. Loading the file into an arrayBuffer works correctly, but this obviously defeats the purpose of COGs. (sample code below)
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Lower zoom level shows skewed result:
Higher zoom levels gradually get increasingly more accurate:
Same data using arrayBuffer:
Desktop (please complete the following information):
Additional context
I can provide the used geotiff file, although it seems to happen on all geotiff files I currently have available to me.
Looks like the problem is that the COG files use EPSG:4326 projection and leaflet is using EPSG:3857
The text was updated successfully, but these errors were encountered: