<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP &#8211; Calculating Distance Between Two Locations Given Their GPS Coordinates</title>
	<atom:link href="http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/feed/" rel="self" type="application/rss+xml" />
	<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/</link>
	<description>Rambling about life&#039;s little things, in 7 â‰¡ 1 (mod 6) fashion</description>
	<lastBuildDate>Tue, 28 Feb 2012 18:27:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Joe</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-34255</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 26 Sep 2011 15:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-34255</guid>
		<description>Great, now how do we take into account elevation ... let&#039;s say we one GPS coord is at the top of Everest, and the second GPS coord is one mile away by projection, but at the base of Everest... do we simply multiple by cos of the angle created by the two altitudes?</description>
		<content:encoded><![CDATA[<p>Great, now how do we take into account elevation &#8230; let&#8217;s say we one GPS coord is at the top of Everest, and the second GPS coord is one mile away by projection, but at the base of Everest&#8230; do we simply multiple by cos of the angle created by the two altitudes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2011-02-21 &#171; Kaigani&#8217;s Arbor Vitae</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-30793</link>
		<dc:creator>links for 2011-02-21 &#171; Kaigani&#8217;s Arbor Vitae</dc:creator>
		<pubDate>Tue, 22 Feb 2011 00:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-30793</guid>
		<description>[...] Gowtham Â» Seventh Sense Â» PHP â€“ Calculating Distance Between Two Locations Given Their GPS Coord... (tags: gps geotagging distance php) [...]</description>
		<content:encoded><![CDATA[<p>[...] Gowtham Â» Seventh Sense Â» PHP â€“ Calculating Distance Between Two Locations Given Their GPS Coord&#8230; (tags: gps geotagging distance php) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dichtstbijzijnde adressen zoeken via geocoÃ¶rdinaten in PHP &#171; RRWD studie webtoepassingen</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17573</link>
		<dc:creator>Dichtstbijzijnde adressen zoeken via geocoÃ¶rdinaten in PHP &#171; RRWD studie webtoepassingen</dc:creator>
		<pubDate>Tue, 20 Jul 2010 11:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17573</guid>
		<description>[...] PHP â€“ Calculating Distance Between Two Locations Given Their GPS Coordinates [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP â€“ Calculating Distance Between Two Locations Given Their GPS Coordinates [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Delagado</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17552</link>
		<dc:creator>Tom Delagado</dc:creator>
		<pubDate>Wed, 14 Jul 2010 14:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17552</guid>
		<description>Hello just thought i would tell you something.. This is twice now i&#039;ve landed on your blog in the last 3 days searching for totally unrelated points. Spooky or what?</description>
		<content:encoded><![CDATA[<p>Hello just thought i would tell you something.. This is twice now i&#8217;ve landed on your blog in the last 3 days searching for totally unrelated points. Spooky or what?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ordnance Survey 1:50 000 Gazetteer import and reuse &#171; Portable Antiquities Scheme blogs</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17489</link>
		<dc:creator>Ordnance Survey 1:50 000 Gazetteer import and reuse &#171; Portable Antiquities Scheme blogs</dc:creator>
		<pubDate>Tue, 25 May 2010 10:43:01 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17489</guid>
		<description>[...] detailed explanation can be found at the Seventh Sense blog  For the Schemeâ€™s database, I wanted to work out if objects were close to an antiquity or Roman [...]</description>
		<content:encoded><![CDATA[<p>[...] detailed explanation can be found at the Seventh Sense blog  For the Schemeâ€™s database, I wanted to work out if objects were close to an antiquity or Roman [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ordnance Survey 1:50 000 Gazetteer import and reuse &#171; Central Unit blogs</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17488</link>
		<dc:creator>Ordnance Survey 1:50 000 Gazetteer import and reuse &#171; Central Unit blogs</dc:creator>
		<pubDate>Mon, 24 May 2010 22:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17488</guid>
		<description>[...] More detailed explanation can be found at the Seventh Sense blog [...]</description>
		<content:encoded><![CDATA[<p>[...] More detailed explanation can be found at the Seventh Sense blog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cristian l</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17487</link>
		<dc:creator>cristian l</dc:creator>
		<pubDate>Mon, 24 May 2010 07:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17487</guid>
		<description>#!/usr/bin/perl
use LWP::Simple;
use XML::Simple; # I.m just a simple guy.
use Data::Dumper;

my $f = get &quot;http://maps.google.com/maps?q=from+45.462330,-73.628195+to+45.462343,-73.628150&amp;output=kml&quot;;
$f =~ m/Distance: ([0-9.,-]+)(.+m )/;
$distance = $1;
@v2 = split(/;/,$2);
$um=$v2[1];
print $distance;
print $um;

print &quot;\n\n&quot;;

my $f = get &quot;http://maps.google.com/maps?q=from+45.462330,-73.628195+to+45.489785,-73.650043&amp;output=kml&quot;;
$f =~ m/Distance: ([0-9.,-]+)(.+m )/;
$distance = $1;
@v2 = split(/;/,$2);
$um=$v2[1];
print $distance;
print $um;
print &quot;\n\n&quot;;</description>
		<content:encoded><![CDATA[<p>#!/usr/bin/perl<br />
use LWP::Simple;<br />
use XML::Simple; # I.m just a simple guy.<br />
use Data::Dumper;</p>
<p>my $f = get &#8220;http://maps.google.com/maps?q=from+45.462330,-73.628195+to+45.462343,-73.628150&amp;output=kml&#8221;;<br />
$f =~ m/Distance: ([0-9.,-]+)(.+m )/;<br />
$distance = $1;<br />
@v2 = split(/;/,$2);<br />
$um=$v2[1];<br />
print $distance;<br />
print $um;</p>
<p>print &#8220;\n\n&#8221;;</p>
<p>my $f = get &#8220;http://maps.google.com/maps?q=from+45.462330,-73.628195+to+45.489785,-73.650043&amp;output=kml&#8221;;<br />
$f =~ m/Distance: ([0-9.,-]+)(.+m )/;<br />
$distance = $1;<br />
@v2 = split(/;/,$2);<br />
$um=$v2[1];<br />
print $distance;<br />
print $um;<br />
print &#8220;\n\n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leann Musselwhite</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17400</link>
		<dc:creator>Leann Musselwhite</dc:creator>
		<pubDate>Wed, 10 Mar 2010 22:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17400</guid>
		<description>Really great article - I was heading for a similar article which I will probably still write, but from a slightly different angle. Thanks for sharing this with your readers...Obviously a lot of others appreciate it too!</description>
		<content:encoded><![CDATA[<p>Really great article &#8211; I was heading for a similar article which I will probably still write, but from a slightly different angle. Thanks for sharing this with your readers&#8230;Obviously a lot of others appreciate it too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chamara</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17299</link>
		<dc:creator>chamara</dc:creator>
		<pubDate>Fri, 12 Feb 2010 09:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17299</guid>
		<description>I want to calculate distance between two pints using AWK programming.If you know about it please send me amessege
thank you</description>
		<content:encoded><![CDATA[<p>I want to calculate distance between two pints using AWK programming.If you know about it please send me amessege<br />
thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: back care products</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-17123</link>
		<dc:creator>back care products</dc:creator>
		<pubDate>Wed, 16 Dec 2009 03:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-17123</guid>
		<description></description>
		<content:encoded><![CDATA[<p>This is an spectacular entry. Thank you very much for the supreme post provided! I was looking for this entry for a long time, but I wasn’t able to find a reliable source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krzyzmo</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16827</link>
		<dc:creator>Krzyzmo</dc:creator>
		<pubDate>Fri, 09 Oct 2009 22:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16827</guid>
		<description>Need some help answering the following question I read on urbansurvival.com.....I am ok with math, but not this much, lol Backround:  There was a recent cloud formation over Russia that looked like a hole in the sky, and multiple major earthquakes on the Pacific plate.  Here is the unanswered question from the site:  Is there a correlation between &#039;holes in the sky&quot; and quakes?  Too early to tell, that&#039;s for sure.  Let me see, here:  Moscow is 55.75 North by 37.6 East and the quake epicenters can be found from USGS here, so with a little high powered math, if this hole in the sky stuff is real, we should be able to work the problem backwards (as with a bullet hole through a window and into an interior wall, right?) and figure out who is shooting at us.

It would be interesting to see where this all points to.

Krzyzmo</description>
		<content:encoded><![CDATA[<p>Need some help answering the following question I read on urbansurvival.com&#8230;..I am ok with math, but not this much, lol Backround:  There was a recent cloud formation over Russia that looked like a hole in the sky, and multiple major earthquakes on the Pacific plate.  Here is the unanswered question from the site:  Is there a correlation between &#8216;holes in the sky&#8221; and quakes?  Too early to tell, that&#8217;s for sure.  Let me see, here:  Moscow is 55.75 North by 37.6 East and the quake epicenters can be found from USGS here, so with a little high powered math, if this hole in the sky stuff is real, we should be able to work the problem backwards (as with a bullet hole through a window and into an interior wall, right?) and figure out who is shooting at us.</p>
<p>It would be interesting to see where this all points to.</p>
<p>Krzyzmo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gowtham</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16816</link>
		<dc:creator>Gowtham</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16816</guid>
		<description>Good to hear [but sorry for delayed response from my end though] :)</description>
		<content:encoded><![CDATA[<p>Good to hear [but sorry for delayed response from my end though] <img src='http://sgowtham.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goran</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16815</link>
		<dc:creator>Goran</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16815</guid>
		<description>10x for the reply, but I&#039;ve already manage it.

take a look: http://travel2macedonia.com.mk/travel-to-macedonia/destinations/skopje/sights-to-visit

Regards,</description>
		<content:encoded><![CDATA[<p>10x for the reply, but I&#8217;ve already manage it.</p>
<p>take a look: <a href="http://travel2macedonia.com.mk/travel-to-macedonia/destinations/skopje/sights-to-visit" rel="nofollow">http://travel2macedonia.com.mk/travel-to-macedonia/destinations/skopje/sights-to-visit</a></p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gowtham</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16813</link>
		<dc:creator>Gowtham</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16813</guid>
		<description>I can try to take a look at it - can you please send me [parts of] the query where you are using this ?</description>
		<content:encoded><![CDATA[<p>I can try to take a look at it &#8211; can you please send me [parts of] the query where you are using this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gowtham</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16812</link>
		<dc:creator>Gowtham</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16812</guid>
		<description>There are 60 nautical miles per degree separation of longitudes. And one nautical mile is same as 1.1515 statute (regular) mile. Since we measure distances in regular miles, 

$distance = $distance * 60 * 1.1515

makes its appearance.</description>
		<content:encoded><![CDATA[<p>There are 60 nautical miles per degree separation of longitudes. And one nautical mile is same as 1.1515 statute (regular) mile. Since we measure distances in regular miles, </p>
<p>$distance = $distance * 60 * 1.1515</p>
<p>makes its appearance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16810</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 08 Sep 2009 01:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16810</guid>
		<description>Nice little forumla and explaination.
In your SLC formular on line 19: $distance  = $distance * 60 * 1.1515
What is the &quot;1.1515&quot; supposed to represent?</description>
		<content:encoded><![CDATA[<p>Nice little forumla and explaination.<br />
In your SLC formular on line 19: $distance  = $distance * 60 * 1.1515<br />
What is the &#8220;1.1515&#8243; supposed to represent?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debt Settlement Program</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16807</link>
		<dc:creator>Debt Settlement Program</dc:creator>
		<pubDate>Wed, 02 Sep 2009 18:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16807</guid>
		<description>Apologize for my bad english, I over its a winsome drama of your writing. Sumptuously I be suffering with faced alot of difficulties in this condition but your article will definately eschew me in future. Say thank you You</description>
		<content:encoded><![CDATA[<p>Apologize for my bad english, I over its a winsome drama of your writing. Sumptuously I be suffering with faced alot of difficulties in this condition but your article will definately eschew me in future. Say thank you You</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goran</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16794</link>
		<dc:creator>Goran</dc:creator>
		<pubDate>Thu, 20 Aug 2009 14:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16794</guid>
		<description>Great formulars...

I have even converted into a km. This formula is in miles as I think.

However I have tried to insert this into a query which I run to get sights out of the DB and becase one function can be called once I am having a problems... Any solutions??

Regards,</description>
		<content:encoded><![CDATA[<p>Great formulars&#8230;</p>
<p>I have even converted into a km. This formula is in miles as I think.</p>
<p>However I have tried to insert this into a query which I run to get sights out of the DB and becase one function can be called once I am having a problems&#8230; Any solutions??</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gowtham :: Brain Dump v1.0 &#187; MySQL &#8211; Finding Locations Nearest To A Given Pair Of GPS Coordinates</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16770</link>
		<dc:creator>Gowtham :: Brain Dump v1.0 &#187; MySQL &#8211; Finding Locations Nearest To A Given Pair Of GPS Coordinates</dc:creator>
		<pubDate>Sat, 08 Aug 2009 17:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16770</guid>
		<description>[...] PHP &#8211; Calculating Distance Between Two Locations Given Their GPS Coordinates [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP &#8211; Calculating Distance Between Two Locations Given Their GPS Coordinates [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gowtham :: Brain Dump v1.0 Â» PHP â€“ Calculating Distance Between &#8230;</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16762</link>
		<dc:creator>Gowtham :: Brain Dump v1.0 Â» PHP â€“ Calculating Distance Between &#8230;</dc:creator>
		<pubDate>Wed, 05 Aug 2009 00:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16762</guid>
		<description>[...] the original here: Gowtham :: Brain Dump v1.0 Â» PHP â€“ Calculating Distance Between &#8230;   SHARETHIS.addEntry({ title: &quot;Gowtham :: Brain Dump v1.0 Â» PHP â€“ Calculating Distance Between [...]</description>
		<content:encoded><![CDATA[<p>[...] the original here: Gowtham :: Brain Dump v1.0 Â» PHP â€“ Calculating Distance Between &#8230;   SHARETHIS.addEntry({ title: &quot;Gowtham :: Brain Dump v1.0 Â» PHP â€“ Calculating Distance Between [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikas Argod</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16761</link>
		<dc:creator>Vikas Argod</dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16761</guid>
		<description>Adding to my last note: you can use LAT,LON in place of ZIP codes and you will still get driving distances

Sorry for a small typo: $f =~ m/Distance: ([0-9.,-]+)/;</description>
		<content:encoded><![CDATA[<p>Adding to my last note: you can use LAT,LON in place of ZIP codes and you will still get driving distances</p>
<p>Sorry for a small typo: $f =~ m/Distance: ([0-9.,-]+)/;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikas Argod</title>
		<link>http://sgowtham.net/blog/2009/08/04/php-calculating-distance-between-two-locations-given-their-gps-coordinates/#comment-16760</link>
		<dc:creator>Vikas Argod</dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://sgowtham.net/blog/?p=2217#comment-16760</guid>
		<description>Good one! Few days back,i wanted to build a web based system given GPS coordinates, but i wanted driving distance and not just the distance. I came up with two options:
1. Using GoogleMaps API i can build a mashup. This is useful as i will have access to google map features. I wrote a simple javascript (thanks to Google and its API). No big deal infact :-)
2. Since all i needed was only driving distance, I used the following perl code:

#!/usr/bin/perl

use LWP::Simple;
use XML::Simple; # I&#039;m just a simple guy.
use Data::Dumper;

$a = &quot;16801&quot;;
$b = &quot;61801&quot;;


my $f = get &quot;http://maps.google.com/maps?q=from+{$a}+to+{$b}&amp;output=kml&quot;;
$f =~ m/Distance: ([0-9.-]+)/;
$distance = $1;
print $distance;</description>
		<content:encoded><![CDATA[<p>Good one! Few days back,i wanted to build a web based system given GPS coordinates, but i wanted driving distance and not just the distance. I came up with two options:<br />
1. Using GoogleMaps API i can build a mashup. This is useful as i will have access to google map features. I wrote a simple javascript (thanks to Google and its API). No big deal infact <img src='http://sgowtham.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
2. Since all i needed was only driving distance, I used the following perl code:</p>
<p>#!/usr/bin/perl</p>
<p>use LWP::Simple;<br />
use XML::Simple; # I&#8217;m just a simple guy.<br />
use Data::Dumper;</p>
<p>$a = &#8220;16801&#8243;;<br />
$b = &#8220;61801&#8243;;</p>
<p>my $f = get &#8220;http://maps.google.com/maps?q=from+{$a}+to+{$b}&amp;output=kml&#8221;;<br />
$f =~ m/Distance: ([0-9.-]+)/;<br />
$distance = $1;<br />
print $distance;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

