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

Use MAX resampling method for PNG pyramid #35

Open
echeipesh opened this issue Oct 30, 2019 · 0 comments
Open

Use MAX resampling method for PNG pyramid #35

echeipesh opened this issue Oct 30, 2019 · 0 comments

Comments

@echeipesh
Copy link
Collaborator

val pyramid = Pyramid.fromLayerRDD(baseLayer, Some(baseZoom), Some(0))

This will preserve the biggest change to highest zoom level.
The default is NearestNeighbor which will basically randomly pick out of the neighbors, sometimes picking the lower value pixel, process repeats and at max zoom you're very likely to have the min value, washing out any difference.

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