How to parse city and regions?

There is a task for the site with ads to give the user the option to choose the region/city to filter the ads. Without small settlements.
Made a database of cities via vk.api but received an impressive number of settlements, most of which need to be removed, which takes a lot of time. The result needed to look like as Avito, for example the user chooses the region and there needs to be major cities. Do not tell where you can take the base with the cities? no other settlements(towns etc.).
March 12th 20 at 08:09
5 answers
March 12th 20 at 08:11
I Think DaData
Ddata provides the same auto-completion ? Or they have a database we can use? if there is please give a link, can't find it. - daija_OHara commented on March 12th 20 at 08:14 - roxane_Friesen commented on March 12th 20 at 08:17
March 12th 20 at 08:13
KLADR seems to be outdated with the release of FIAS? - edd.Schuster commented on March 12th 20 at 08:16
@edd.Schuster, then he wouldn't have updated. - elwyn.Bosco commented on March 12th 20 at 08:19
March 12th 20 at 08:15
You incorrectly solve the problem. Most common tasks need to be solved from someone to himself, and not from himself to someone.

That will take you base and current who will follow? One option already suggested is quite good.
March 12th 20 at 08:17
It is possible to look in the direction of FIAS
March 12th 20 at 08:19
The only official and up to date address database in Russia - FIAS.
It must support ALL municipalities.
All other database - unofficial.
At birth in the Russian Federal database called KLADR. The quality of the database was very high. After the birth of the concept of data exchange between official bodies and the later website services all targeted bases was accepted malohovskiy KLADR. But the actualization came from the on the municipal bodies (although physically the database and is in FTS). Changed the name. The quality (uniformity of names, types), and more importantly the relevance of the DB fell down, of course. But the best DB there. I'm sure all the other sites anyway enjoy the FIAS.
Before from FIAS database were regularly exported to the KLADR format (DBF). But 01.01.2018 database format KLADR not actualizarea.

Find more questions by tags Parsing