Mikael Blomkvist
Mikael Blomkvist

Reputation: 149

Is it possible to make geolocation validation?

To make more clear what inspired this question, I'm making a mobile app where people rate in real time how nightclubs are doing and would be very good if there existed an way to make sure the person is actually there to rate if it's bad or good.

PS. I thought about comparing the coordinates of the location of the person versus the place's coordinates. Don't know if it's technically possible.

Upvotes: 1

Views: 613

Answers (2)

AlexWien
AlexWien

Reputation: 28727

Yes you read the location from GPS. make sure you get the location only from GPS not from other locations service like cell tower or wifi. A GPS location in most cases is acurate within 3- 30m.

Then just calculate the distance from user coordinates (latitue, longitude) to nightclubs (latiidude, longitude) if the distance is <50m then the person is standing very near to th enntry of the club.

But dont forget inside the club you will not recieve GPS. GPS needs free view to sky.

Upvotes: 1

Lenin
Lenin

Reputation: 610

Yes, its possible. If the app requests the GPS support and the location co-ordinates at real time. It would actually verify if the person is at there.

Upvotes: 0

Related Questions