3 ms·
How did you measure the driving distance?
by Alifatisk 4y ago
How did you measure the driving distance?
- drcode 4y agoI asked chatgpt4, and it did some insane formula that uses lat/long and the radius of the earth to measure distances, then asked it to add a bonus 20 minutes for any destination in SF, 15 minutes for any event in Berkeley/Oakland (and it correctly put bounding rectangles on the three jurisdictions).
- Alifatisk 4y agoCool, thank you for the insight. I stumpled upon a similar quest where my app had to calculate the walking distance between two coordinates (the client and the restaurant). OSM seem to be the only good option, I could not find any better alternative in my case (Ruby).