News for hackers. Stuff that matters.
Re:Mapping with D3 by ericfrigot on Sunday December 16, 2012 @04:22AM (#4927836)
Concerning the size of the json file with geo path, I don't know if you can rename the attributes, but you can save 300ko just by using simplified coordinates ("-86.411786" becomes "-86.4"). I don't think you need sub-pixel precision :)
Re:Mapping with D3 by tgasson on Sunday December 16, 2012 @05:34AM (#4927966)
That's actually something topojson will do for you. It stores a translate and scale value that fits so all the values can be simple integers.