block by rveciana de0bd586eafd7fcdfe29227ccbdcd511

Isobands from a geotiff with d3

Full Screen

This example shows how to use the d3-marching-squares library.

The gist reads a GeoTIFF file, gets its data, calculates the zones for each interval and draws it on an html5 canvas element.

The data is an output of the GFS meteorological model (surface temperature), transformed using the grib api tools

The d3-marching-squares library is based on the MarchingSquares.js library.

The GeoTIFF file is read using the npm geotiff library