block by rveciana 3bb56299ecebec0d9c00967cb0759a06

Smooth GeoTIFF drawing with D3js - color scale

Full Screen

This example shows how to represent a GeoTIFF raster directly into a Canvas object.

The example is identical to this one, but with another way to create the color scales. This method makes easy to create all the complex color scales needed, and it’s taken from the plotty library.

The color scale used here is taken from the colorbrewer2 site, with the name RdBu.