symerio / pgeocode

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

How can i convert different country code? #60

Closed jhlee-data-yg closed 1 year ago

jhlee-data-yg commented 2 years ago

I want to find 'KR' country code, but this package is not Offer default.

So, How Can i find 'KR' country_code.

jhlee-data-yg commented 2 years ago

Error code -> "ValueError: country=KR is not a known country code."

---> 10 nomi = pgeocode.Nominatim('KR')

rth commented 1 year ago

Queries for Republic of Korea should work with the next release. It was fixed in https://github.com/symerio/pgeocode/pull/66