API Reference

pgeocode.Nominatim([country, unique])

Query geographical location from a city name or a postal code

pgeocode.GeoDistance([country, errors])

Distance calculation from a city name or a postal code

pgeocode.haversine_distance(x, y)

Haversine (great circle) distance