elixir-geolix / geolix

IP information lookup provider
Apache License 2.0
190 stars 18 forks source link

Using as Geocoding Database #21

Closed webdeb closed 5 years ago

webdeb commented 5 years ago

Hi I am wondering if someone has used this project as a base for geocoding purposes?

If for example all you need, is to search for cities, by name or by lng/lat.

Thank you

mneudert commented 5 years ago

The scope of this project is currently only to provide information based on an given IP address. Some databases like the ones from MaxMind are also only usable in that way due to their internal data structure.

If you need to find a city by providing coordinates you should resort to a more suitable data set. Could the project cherchevile (https://hex.pm/packages/chercheville) be matching your intended use case?

webdeb commented 5 years ago

Hi @mneudert, thank you very much. I did't know about cherchevile, it looks very promisingly 👍