How to avoid duplication of same place on a Places Reviews Website?



I’m trying to set up a "Yellow-Pages" for hospitals, How can I prevent that the same place can have 2 pages? I thought about long,lat registration, but Google maps seems to have multiple values for the same place.


There are formulas to calculate the distance between lat/long values. If you find that the name is unique, you can calculate the distance between TWO points with the same name, and if they are close enough, you know you have a duplicate. Else its a different business. But that relies on the name being unique. On the other side, there could be multiple business on the same lat/long (Ex: an office building)

Answered By – ullfindsmit

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More