Skip to content

Use MAX resampling method for PNG pyramid #35

@echeipesh

Description

@echeipesh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions