Skip to content

redsift/t3-rs-geo-tiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

t3-rs-geo-tiles

Circle CI npm MIT

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

Usage

$ npm install t3-rs-geo-tiles -g
$ buildgrid -o tiles/grid.js resources/equirectangle_projection.png

Mapping Data

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.

Attribution

This software is substantially based on encom-globe by Robert Scanlon, licensed under MIT.

Releases

No releases published

Packages

No packages published