geotype
geotype is a cli tool for rendering geojson as ascii in your terminal.
colors no colors
cli
install
npm install geotype -g
run
geotype world.geojson
or
cat world.geojson | geotype
node.js
install
npm install geotype
example
var geotype = var fs = //defaultvar world = JSONvar ascii = console //optionsconsole
options
-z --zoom : specify fixed tile pixel zoom level -b --bbox=minX,minY,maxX,maxY : set frame to a bbox -t --tile : set frame to a tile [x/y/z] -m --mod : overzoom factor -f --frame : number of tile pixels to pad sides of frame --nocolor : display plain ascii w/o colors -p --png : output to png instead of ascii -r --res [256]: image resolution -h --help : show docs
test
npm t
demo
cd ./testsh test.sh