--- layout: example.html title: Interpolation shortdesc: Example of data interpolation docs: > Example of data resampling when using raster DEM (digital elevation model) data. The interpolate: false setting is used to disable interpolation of data values during reprojection and rendering. Elevation data is calculated from the pixel value returned by forEachLayerAtPixel. For comparison a second map with interpolation enabled returns inaccuate elevations which are very noticeable close to 3107 meters due to how elevation is calculated from the pixel value. tags: "disable image interpolation, xyz, maptiler, reprojection" cloak: - key: get_your_own_D6rA4zTHduk6KOKTXzGB value: Get your own API key at https://www.maptiler.com/cloud/ ---

Not Interpolated

Interpolated