S
S
snell2018-10-10 18:15:06
Parsing
snell, 2018-10-10 18:15:06

Where to parse cities and regions?

There is a task for a site with ads, to give the user the opportunity to select a region / city to filter ads. No small towns.
I made a base of cities through vk.api, but got an impressive number of settlements, most of which need to be removed, which will take a lot of time. The result that is needed should look like Avito, for example, the user selects a region and there should be main cities. Can you tell me where you can get a base with cities? without other settlements (villages, etc.).

Answer the question

In order to leave comments, you need to log in

5 answer(s)
W
Web Dentist, 2018-10-10
@kgb_zor

I think DaData

X
xmoonlight, 2018-10-10
@xmoonlight

KLADR

S
spaceatmoon, 2018-10-10
@spaceatmoon

You are solving the problem incorrectly. Most typical tasks need to be solved from someone to yourself, and not from yourself to someone.
So you take the base, and who will follow the relevance? One option has already been offered to you, quite good.

D
DarWiM, 2018-10-10
@DarWiM

You can look towards FIAS

R
RiantHoff, 2018-10-18
@RiantHoff

The only official and up-to-date address database in Russia is FIAS.
It must be supported by ALL municipalities.
All other databases are unofficial.
At birth, the database was called KLADR in the Federal Tax Service of the Russian Federation. The quality of the database was very high. After the birth of the concept of data exchange between official bodies and a little later, the site of public services, it was the tax KLADR that was taken as the basis from all address bases. And the update was transferred from the Federal Tax Service to the municipal authorities (although the database is still physically located in the Federal Tax Service). The name has also changed. Quality (uniformity of names, types), and more importantly, the relevance of the database have fallen, of course. But there is no better database. I am sure that all other sites use FIAS in one way or another.
Previously, the database was regularly exported from the FIAS format to the KLADR (DBF) format. But from 01/01/2018, the database in the KLADR format is not updated.
FIAS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question