--- 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 getData. For comparison a second map reprojected with interpolation enabled returns inaccurate 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

Elevation - meters

#### Interpolated

Elevation - meters