<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic compute distances between latitude/longitude points in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/377995#M90805</link>
    <description>&lt;P&gt;I have the following fields:&lt;BR /&gt;equipment: name of equipment&lt;BR /&gt;Lat1: latitude for equipment&lt;BR /&gt;Long1: longitude for equipment&lt;BR /&gt;location: name of location&lt;BR /&gt;Lat2: latitude for location&lt;BR /&gt;Long2: longitude for location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are approximately 500K pieces of equipment and 3K locations.&lt;BR /&gt;Can anyone recommend a strategy for finding all the pieces of equipment within 0.5 miles for each of the locations in the dataset?&lt;BR /&gt;If needed I can restrict the number of pieces of equipment that are within 0.5 miles for each location (e.g. only find a maximum of 5 pieces of equipment for each location).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 04:45:32 GMT</pubDate>
    <dc:creator>gzr2mz39</dc:creator>
    <dc:date>2017-07-21T04:45:32Z</dc:date>
    <item>
      <title>compute distances between latitude/longitude points</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/377995#M90805</link>
      <description>&lt;P&gt;I have the following fields:&lt;BR /&gt;equipment: name of equipment&lt;BR /&gt;Lat1: latitude for equipment&lt;BR /&gt;Long1: longitude for equipment&lt;BR /&gt;location: name of location&lt;BR /&gt;Lat2: latitude for location&lt;BR /&gt;Long2: longitude for location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are approximately 500K pieces of equipment and 3K locations.&lt;BR /&gt;Can anyone recommend a strategy for finding all the pieces of equipment within 0.5 miles for each of the locations in the dataset?&lt;BR /&gt;If needed I can restrict the number of pieces of equipment that are within 0.5 miles for each location (e.g. only find a maximum of 5 pieces of equipment for each location).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 04:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/377995#M90805</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2017-07-21T04:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: compute distances between latitude/longitude points</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/378003#M90808</link>
      <description>&lt;P&gt;Use GEODIST function. Please provide sample data if you want a code answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003113162.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003113162.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 05:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/378003#M90808</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-07-21T05:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: compute distances between latitude/longitude points</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/383526#M91476</link>
      <description>&lt;P&gt;The strategy I'm currently using is to divide the datasets into smaller parts and&amp;nbsp;then&amp;nbsp;generate&amp;nbsp;Cartesian Products with PROC SQL. After merging I use geodist to calculate the distances.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 00:18:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compute-distances-between-latitude-longitude-points/m-p/383526#M91476</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2017-07-28T00:18:13Z</dc:date>
    </item>
  </channel>
</rss>

