mapbox / mapbox/tilelive-vector
Use bilinear interpolation for rasters
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 72
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Currently we are using nearest neighbor (the mapnik default) interpolation for the raster symbolizer:
https://github.com/mapbox/tilelive-vector/blob/master/templates/layer.xml#L21
Changing it to `scaling="bilinear"` will give better looking output tiles, which is especially important if we move towards resolution rounding as detailed here: https://github.com/mapbox/mapnik-omnivore/issues/133
cc @yhahn @springmeyer @perrygeo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at templates/layer.xml around line 21, where the raster symbolizer interpolation is configured. Review how this template is used for raster output, then verify that generated tiles use bilinear interpolation and retain the expected appearance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100