node package manager


geospatial quadtree encoding and decoding.


Quadtree is a node module that encodes and decodes geospatial quadtrees.

The encoding algorithm orders the tiles using the bing maps ordering shown below:

$ npm install quadtree
var quadtree = require('quadtree');

var coordinate = {
	lng: -27.093364,
	lat: -109.367523 

var precision = 8;
var encoded = quadtree.encode(coordinate, precision);

var decoded = quadtree.decode(encoded);

Pair programmed by Roy Lines and James Bloomer.