This adaption of Mike Bostock’s Raster Reprojection differs in 3 ways:
- In this demo, the source image is larger than the target canvas element. To extract the data from the image,
the image must be drawn into a canvas element that’s large enough to hold it. That element is removed
from the DOM so it doesn’t appear on the screen.
- The gray-scale source image is assigned a custom colormap.
- Country borders are drawn as an SVG vector layer on top of the canvas.
Data sources:
Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com.
FAO/IIASA, 2011. Global Agro-ecological Zones (GAEZ v3.0). FAO Rome, Italy and IIASA, Laxenburg, Austria. Annual precipitation (future period 2020s Hadley CM3 A1FI). Downloaded from http://gaez.fao.org/Main.html Oct 2014.