Is there a free service that automatically completes post addresses (street names) for all countries around the world?

Is there a free service that automatically completes post addresses (street names) for all countries around the world?

I am thinking of a service like yql from yahoo, or something like foresquare.

I want the user to enter the street name, and while he is typing, I want to offer well-known similar street names for him through JS.

thanks for the links and helps

+8
javascript autocomplete street-address
source share
2 answers

You can try Nominatim , which is looking for OpenStreetMap. There are several public servers that you can use, and if that’s not enough for you, you can always set up your own.

+3
source share

The Google API prohibits use without displaying a map, as well as automatic requests. Although the Mapquest / Nominatim APIs are good, I want to add caution.

International addresses are pretty easy to offer users - if you don't care about accuracy. However, if you only want to specify the correct addresses, the task becomes much more complicated. Each postal agency of each country (for example, USPS, Canada Post, etc.) processes its official reports in different ways. Many countries do not cope well with them, and even less provide ways to request their records.

For example, I work for SmartyStreets (based on the USA), where we check the CASS-Certified US mailing address. In the USA, this means that we only return the correct addresses. Google, Yahoo, even MapQuest, perform address approximation rather than address verification. In some cases, you will receive unacceptable results, but you will never know about it.

Just food for thought. If you have other questions related to the address, just let me know; at least for addresses in the USA, we can help you to the fullest.

+1
source share

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


All Articles