E
E
Evgeny Seleznev2011-12-03 12:23:19
Social media
Evgeny Seleznev, 2011-12-03 12:23:19

Unification of the city when receiving it through social networks

Hello.

The following problem arose: users register through social networks, I pull the city from there, I want to bring all the cities to the same names (on Facebook, for example, Saint-Petersburg comes, VKontakte - St. Petersburg + there are other variations, I want to have St. Petersburg as the output) .

I thought to do it through the Geonames API, but for St. Petersburg it gives out the name "Petersburg", which is not ok.

Are there any other options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mixailo, 2011-12-03
@Mixailo

You can use the Geonames API by making an additional base of renames.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question