Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ericfrigot
· 13y ago · 0 comments
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 :)
Comments
[–]
tgasson
13y ago
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.