← Back to context

Comment by Alifatisk

3 years ago

How did you measure the driving distance?

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

  • Cool, 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).