Distance Calculation Many-One locations + mapping in GE

7 views
Skip to first unread message

craigha...@hotmail.com

unread,
Aug 28, 2008, 9:23:19 AM8/28/08
to KML Developer Support - Third Party Applications
Is ther a way to have say 2-300 postcodes and calculate the distance
to a single postode ,and show these all in GE, and possibly showing
each route from A(n) to B so you would have

a1 to B - distance = 20 miles
a2 to B - distnace = 43 miles

etc etc

Let me know if there are any tools tat do this, it has done be done on
this bulk scale as individually is a nightmare,

thanks in advance for any help

Craig

Liverman

unread,
Aug 29, 2008, 9:19:23 AM8/29/08
to KML Developer Support - Third Party Applications
Batchgeocode.com has this functionality, you just need to have either
lat/lon or address information in a tab or bar delimited for which can
be accomplished by saving an excel spreadsheet using save as. If you
import a post codes only, it will map the geographic center of the
postcode.

-Liver

Roman N

unread,
Aug 29, 2008, 2:35:28 PM8/29/08
to KML Developer Support - Third Party Applications
Once you have latitudes and longitudes, you can use a great-circle
distance formula (there are several) to calculate the distance. See
http://en.wikipedia.org/wiki/Great-circle_distance for info on great-
circle distance. There are also some JavaScript implementations of
great-circle distance available in http://earth-api-samples.googlecode.com/svn/trunk/lib/

- Roman
Reply all
Reply to author
Forward
0 new messages