Closed santheo closed 11 years ago
Whoops, this pull request is set to go into development. If you merge it, you can delete your 'simplify_boundaries' branch, since this is a branch of that branch.
Closes #201.
Meanwhile, I'm working on further byte-lightening by encoding each normalized number as a set of unicode chars. I've got it working on the encoding side. I haven't done the decoding part yet. Here's what it looks like. The weight of the encoded data is roughly 57% of the normalized data.
New scripts.js is 37kb. Here's the script I used to convert the old wardPaths:
I got those minlat & minlng by flattening wardPaths and finding the mins.