symerio / pgeocode

Postal code geocoding and distance calculation
https://pgeocode.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
231 stars 57 forks source link

country code DZ is not responding #61

Closed dalwindr closed 2 years ago

dalwindr commented 2 years ago

import pgeocode nomi = pgeocode.Nominatim()

if "DZ" in pgeocode.COUNTRIES_VALID: print("country found") nomi = pgeocode.Nominatim("DZ") zipcodes = ["30200"] for i in nomi.query_postal_code(zipcodes).to_dict("records"): print("-----", i)

image
rth commented 2 years ago

It was likely a temporary issue with the server hosting the data. Should be fixed now.