Packing GPS fix in 16 chars text string
To save space when storing GPS locations or transporting them
var ufix = require('ufix')
//pack
ufix({
latitude: 22.331443,
longitude: 114.1451929,
timestamp: 1445844471
})
// returns 16 chars string '/oFPDZksCUT31S1W'
//unpack
ufix('/oFPDZksCUT31S1W')
// returns location fix
/*
{
latitude: 22.331443,
longitude: 114.1451929,
timestamp: 1445844471
}
*/