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

Does it just punt on miles<->longitude? I looked at the code some and don't see where it would ever deal with projections.

(jsts mentions coordinates systems in comments, but I don't where it ever does anything about them)



Wgs84 data is assumed for distance calculations. If you need to convert your data on the fly, I typically recommend proj4js.


Maybe you could document that more explicitly. Basically defining the scope of the project and where to look for complementary tools like proj4js and rbush for instance.


I'm talking about buffering and such, "1 mile" isn't a sensible measure in latlong. I didn't carefully analyze the code, so maybe I'm just missing something.




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

Search: