Find the distance between two Zip Code using Webservices? [closed]
Asked Answered
B

1

8

Are there any good Webservices apart from Google one which can find me the distance between two Zip Codes?

I have

http://maps.googleapis.com/maps/api/distancematrix/json?origins=95050&destinations=94087&mode=bicycling&sensor=false

which is Google API. Are there any other API's that I can take a look? If yes, can anyone provide me the link for the same?

Bacolod answered 18/6, 2013 at 3:47 Comment(3)
you could rerfer to this : #7427210Ellanellard
in that post, mostly it talk about using Java code.Bacolod
You can use thezipcodes.com to get location from ZIP Code and calculate distance. To integrate with your service follow thezipcodes.com/docsAbate
D
4

There is a very simple API that will calculate distance between two zip codes. There are also options for zipcodes within a radius and finding the lat/long and city/state. http://zipcodedistanceapi.redline13.com/

Dye answered 3/7, 2013 at 20:35 Comment(3)
It's not giving the correct result as it differs from that of google map. I tested it for the following zip codes: Origin = 76180 Destination = 75029 This API gives 19.829 miles while google map shows 25.8 miles.Billon
This API gives end to end distance between the two zip codes, not a travelling distance. That's why, the google map shows different distance.Iseult
The best API so far is google map API developers.google.com/maps/documentation/distance-matrixIseult

© 2022 - 2024 — McMap. All rights reserved.