t3-rs-geo-tiles
is a command line tool to create hex tiles from a PNG map. Primarily used to generate tiles for t3-rs-geo
$ npm install t3-rs-geo-tiles -g
$ buildgrid -o tiles/grid.js resources/equirectangle_projection.png
Data values can be mapped into the hex bins. Data is defined by assembling a descriptor JSON file that maps the method of extracting the data from a PNG.
The most complex operation is normalization of the projection. The canonocal PNG layout for the projections can be viewed in the d3 geo projection repository.
This software is substantially based on encom-globe by Robert Scanlon, licensed under MIT.