Ruby on Rails Friday, August 17, 2018

hi,

i have a Task model with and address plus radius in miles (adress is being translated to lat/lng via geo-api-call).

Now i have a person at location x and i want to know if that person is within that circle of the TaskModel's location plus radius.


does anyone know how to calculate that w/o using geo-api calls?


thx
tom

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdoAvAi84TNFEYAHwZoFzU-c88eL1PcmDSpf7yVq7v%2BuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment