Re: Google Maps Distance Between UK Postcodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Has anyone tried to work this out?
> All I'm trying to get is the rough distance in miles between two UK
> postcodes using Google Maps API for a basic auto quote script based on
> mileage travelled.
> I thought it would be easy but it seems that I need to convert each postcode
> to Lat/Long using Geocoding and then work it out from there.
> I can't find any examples so before I find another way of 'skinning the cat'
> has anyone had experience of this and able to point me the right way?

If it's straight line distance you might well be able to use peter
gorous on the coords. If it's distance by road, then not.

-- 
Richard Heyes

HTML5 Graphing for IE7, FF, Opera and Safari:
http://www.phpguru.org/RGraph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux