Over engineered much? > On a previous project we needed to show markers on a map to indicate there was a property, but for privacy reasons we wanted to show the marker on the map close to the property but not at the exact location of the property. So we needed to generate random points within a fixed distance of the original point location. At those distances, you can treat the surface as a plane and calculate points…
How to generate random geo-coordinates within a given radius
21–30 of 57 posts
Re: How to generate random geo-coordinates within a given radius
#22Earlier quoted context omitted.
I imagine its for something like AirBnb where the site doesn't want the users to the location the property so they only way to book it is via the site.
What's funny with Airbnb is that if you are looking at the map in search, it is approximate. However, if you save the property to your favorites and then go to your favorite list and look at the map, you get the exact location.
Re: How to generate random geo-coordinates within a given radius
#23Re: How to generate random geo-coordinates within a given radius
#24> On a previous project we needed to show markers on a map to indicate there was a property, but for privacy reasons we wanted to show the marker on the map close to the property but not at the exact location of the property. So we needed to generate random points within a fixed distance of the original point location This raises a couple of interesting questions. 1. How do you stop someone from finding the actual pr…
We used a slightly modified version of the code in the article. Instead of using random numbers we used pseudo-random numbers so the positions didn't change across requests.
Re: How to generate random geo-coordinates within a given radius
#25> On a previous project we needed to show markers on a map to indicate there was a property, but for privacy reasons we wanted to show the marker on the map close to the property but not at the exact location of the property. So we needed to generate random points within a fixed distance of the original point location This raises a couple of interesting questions. 1. How do you stop someone from finding the actual pr…
That's definitely plausible: https://splinternews.com/how-an-internet-mapping-glitch-turn...
Re: How to generate random geo-coordinates within a given radius
#26> On a previous project we needed to show markers on a map to indicate there was a property, but for privacy reasons we wanted to show the marker on the map close to the property but not at the exact location of the property. So we needed to generate random points within a fixed distance of the original point location This raises a couple of interesting questions. 1. How do you stop someone from finding the actual pr…
https://splinternews.com/how-an-internet-mapping-glitch-turn...
In those cases there were negative consequences because low-precision markers were not displaced.
Re: How to generate random geo-coordinates within a given radius
#27Earlier quoted context omitted.
We used a slightly modified version of the code in the article. Instead of using random numbers we used pseudo-random numbers so the positions didn't change across requests.
Is the pseudo-random number generator cryptographically secure?
Re: How to generate random geo-coordinates within a given radius
#28This is a fine submission but can you please not put "Show HN" on blog posts? This is in the rules: https://news.ycombinator.com/showhn.html .
Re: How to generate random geo-coordinates within a given radius
#29Re: How to generate random geo-coordinates within a given radius
#30Over engineered much? > On a previous project we needed to show markers on a map to indicate there was a property, but for privacy reasons we wanted to show the marker on the map close to the property but not at the exact location of the property. So we needed to generate random points within a fixed distance of the original point location. At those distances, you can treat the surface as a plane and calculate points…