4 ms·
I 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 fo
by drcode 3y ago
I 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 3y 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).