📜 ⬆️ ⬇️

DaData.ru calculates coordinates, and the address parser wags its tail

DaData.ru is a service for automatically checking and correcting contact information (name, addresses, phone numbers, email).

November is in the yard, and new features on DaData.ru :


Do not let the parcel go to Khimki instead of the center of Moscow


Once the operator of the Tula call center accepted the order and drove the address “Moscow Nagornoye 1” instead of “Moscow Nagornaya Street 1”. Then the address was automatically chased through Yandex and received geo-coordinates of the Nagorny Highway in Khimki. The parcel left for Khimki, and took it out with great difficulty.
')
To make such stories smaller, we added geocoordinates to the API . Transfer the address in one line, and we will sort through KLADR and put down geo-coordinates.


We are looking for carefully - we return the coordinates of the street, if the house is not found. And the coordinates of the city center, if not found street.
We always indicate the accuracy with which the geo-coordinates of the object were found - this is a house, street or settlement (see quality codes ).
We use OSM .

Coverage of houses:

Street coverage:



Gradually we plan to add data on geocodes to increase coverage.

Send SMS on time


The online store that does the SMS distribution, the API will determine the time zone for the delivery address.



Tips on region, city, street and home


For those whose CMS does not allow entering the address in one line, they made granular prompts for addresses .



Tips on smartphones


It used to be inconvenient to enter a company or address on a smartphone.



And now even the owner of a 3.5-inch phone will fill in the company details in 10 seconds (we checked).



TIN on a separate line and clearly visible. And the address does not litter the space, only the region remains from it.

Process addresses through a new smart filter.


Last year we actively reworked the email address recognition algorithm. A year of heated debates between developers and testers on the topic “how to properly parse addresses”. Year of permanent code fixes and daily monitoring of automated tests.

And here it is - a new address filter. Call it through an API or process files. Tested on 50 million autotests.

Those who wrote errors on the forum - many thanks!

Special thanks to the authors of the topics:


Count the money


See statistics for processed records in your account.



Enable tips for iOS


Nikolay Sotsky from InstaDev made an excellent module for calling hints from iOS: https://github.com/InstaDev/IDDaDataSuggestions .

We will be glad to questions on the forum !

Source: https://habr.com/ru/post/242557/


All Articles