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

Shows less distance between two postal codes #84

Closed ak4zh closed 2 months ago

ak4zh commented 2 months ago

I have tried with multiple postal codes and the distance calculated is 25%-30% lesser than what google maps suggest. Is there a way to get more accurate distance?

import pgeocode

dist = pgeocode.GeoDistance('in')
dist.query_postal_code("629702", "180001")

Returns: 2752 kms As per google maps it's 3400 kms

rth commented 2 months ago

This is expected,