Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ericfrigot
on Dec 16, 2012
|
parent
|
context
|
favorite
| on:
Mapping with D3
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 :)
tgasson
on Dec 16, 2012
[–]
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: