MapBox MBTiles Writer Feature Type Parameters

Raster: Metadata

Raster: File Parameters

Zoom Levels

Interpolation Type

Determines the resampling algorithm used when constructing tile data:

Option

Description

Bilinear (default)

Calculates a pixel's value by averaging the closest 2x2 neighborhood of pixel values. This method produces a higher-quality result than Nearest Neighbor.

Nearest-neighbor

Nearest-neighbor interpolation uses the value of the nearest pixel to calculate the value of a given pixel without considering the values of pixels outside this nearest pixel range. Nearest-neighbor is the least resource-intensive, but also produces the lowest-resolution tiles.

Cubic

Calculates a pixel's value by using the closest 4x4 neighborhood of pixel values.

Cubic-spline

Because it calculates a pixel's value by using a spline, this results in a smaller error than linear interpolation, and the interpolation is smoother.

Lanczos

Use Lanczos interpolation when you want to enhance or maintain local contrast; it is useful for viewing detailed features or boundaries.

Mode

This is a custom resampling algorithm made by GDAL. This method will select the value which appears most often in all the sampled pixels and use that as the value for the given pixel.

Average

This is a custom resampling algorithm made by GDAL. This method will use the average of all non-NODATA contributing pixels to compute the value of a pixel.

Compression