faker icon indicating copy to clipboard operation
faker copied to clipboard

Location inside specific boundaries

Open dkuku opened this issue 5 years ago • 1 comments
trafficstars

I've added: Returns a random location inside a square of 2x specified distance of base location in distance from base location using the https://en.wikipedia.org/wiki/Haversine_formula/

111km is around 1deg on the equator. So specyfing a initial distance from point 0,0 must fall between -1,1 on both coordinates

  • [] USAGE.md docs if applicable
  • [ ] CHANGELOG.md

dkuku avatar May 10 '20 21:05 dkuku

This would be a great addition for maps based apps :pray:

nelsonmestevao avatar Aug 08 '23 11:08 nelsonmestevao