<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 22:45:43 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPImpact Blog: Geo Proximity Search with PHP, Python and SQL]]></title>
      <guid>http://www.phpdeveloper.org/news/11910</guid>
      <link>http://www.phpdeveloper.org/news/11910</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico</i> takes a look at <a href="http://phpimpact.wordpress.com/2009/02/08/geo-proximity-search-with-php-python-and-sql/">finding geo-proximity</a> to a find a location on a map and plot it and find the distance to another point - all with the help of PHP, Python and SQL.
</p>
<blockquote>
Basically, what I'm doing is plotting a radius around a point on a map, which is defined by the distance between two points on the map given their latitudes and longitudes. To achieve this I'm using the <a href="http://en.wikipedia.org/wiki/Haversine_formula">Haversine</a> formula (spherical trigonometry). This equation is important in navigation, it gives great-circle distances between two points on a sphere from their longitudes and latitudes.
</blockquote>
<p>
Included in <a href="http://phpimpact.wordpress.com/2009/02/08/geo-proximity-search-with-php-python-and-sql/">the post</a> is the code for three different implementations - PHP, Python and SQL, all using that same formula.
</p>]]></description>
      <pubDate>Mon, 09 Feb 2009 10:28:29 -0600</pubDate>
    </item>
  </channel>
</rss>
