0

I have a large dataset of addresses (a couple of millions) as strings that needs to be mapped to countries.

I've looked into using geopy and nominatim locally but seems that downloading and loading the whole planet database of open street map is an overkill for this specially that I only need to do this once.

Is there a way to get a local subset of open street maps that would still be able to work with nominatim to get this task done ?

Jimmar
  • 4,194
  • 2
  • 28
  • 43
  • Or you could query Nominatim directly. Geopy has RateLimiter module, which helps to deal with rate limiting: https://stackoverflow.com/a/51573613/8884513 – KostyaEsmukov Nov 13 '19 at 08:03
  • @KostyaEsmukov yeah but that would take months to run if I stuck with the `1 request per second` – Jimmar Nov 13 '19 at 10:18

0 Answers0