Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)



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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: