<?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 How I can calculate the distance between two addresses? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898949#M44537</link>
    <description>&lt;P&gt;I should calculate the distance between home addresses and closest eye clinic. The addresses are saved in excel. Street, city and state have separate columns. I know I should add double quotation to each part of&amp;nbsp; the addresses and then find the distance. Can you please share the codes with me. I can not share the addresses with you but they are similar the list below. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Street&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;state&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;City&lt;/P&gt;&lt;P&gt;aaa bbb ccc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mnv&lt;/P&gt;&lt;P&gt;aa dddd eee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dvu&lt;/P&gt;&lt;P&gt;ffff oo nnm&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lmn&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 15:04:13 GMT</pubDate>
    <dc:creator>Agha</dc:creator>
    <dc:date>2023-10-17T15:04:13Z</dc:date>
    <item>
      <title>How I can calculate the distance between two addresses?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898949#M44537</link>
      <description>&lt;P&gt;I should calculate the distance between home addresses and closest eye clinic. The addresses are saved in excel. Street, city and state have separate columns. I know I should add double quotation to each part of&amp;nbsp; the addresses and then find the distance. Can you please share the codes with me. I can not share the addresses with you but they are similar the list below. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Street&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;state&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;City&lt;/P&gt;&lt;P&gt;aaa bbb ccc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mnv&lt;/P&gt;&lt;P&gt;aa dddd eee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dvu&lt;/P&gt;&lt;P&gt;ffff oo nnm&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lmn&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898949#M44537</guid>
      <dc:creator>Agha</dc:creator>
      <dc:date>2023-10-17T15:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How I can calculate the distance between two addresses?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898957#M44539</link>
      <description>&lt;P&gt;You need an api to get driving distances. If you can use flying distances (straight line distance) then you can use proc geodist and geocode function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use PROC geocode to convert addresses to latitude and longitude and then the geodist() function to calculate the flying distance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/en/knowledge-base/maps-geocoding/geocodes.html#:~:text=Use%20the%20PROC%20GEOCODE%20for,government%20sources%20or%20data%20vendors" target="_blank"&gt;https://support.sas.com/en/knowledge-base/maps-geocoding/geocodes.html#:~:text=Use%20the%20PROC%20GEOCODE%20for,government%20sources%20or%20data%20vendors&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paper on the topic&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/0155-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/0155-2017.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or try this method - note you need the latitude/longitude for this one or need to modify the URL portion.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Find-driving-distance-google-maps-usinga-list-of-10-hospital/m-p/884611" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Find-driving-distance-google-maps-usinga-list-of-10-hospital/m-p/884611&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898957#M44539</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-10-17T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: How I can calculate the distance between two addresses?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898960#M44541</link>
      <description>&lt;P&gt;See here :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Driving Distances and Drive Times using SAS and Google Maps&lt;BR /&gt;Started ‎07-05-2018 | Modified ‎07-05-2018&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Driving-Distances-and-Drive-Times-using-SAS-and-Google-Maps/ta-p/475839" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Driving-Distances-and-Drive-Times-using-SAS-and-Google-Maps/ta-p/475839&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Driving Distances and Times Using SAS® and Google Maps&lt;BR /&gt;Mike Zdeb&lt;BR /&gt;University at Albany -- School of Public Health&lt;BR /&gt;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/TASS/Zdeb-DrivingDistances.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/TASS/Zdeb-DrivingDistances.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Paper BI02-2016&lt;BR /&gt;Macro method to use Google Maps™ and SAS® to find the shortest driving and straight line distances between 2 addresses in the United States&lt;BR /&gt;Laurie Bishop, Cincinnati Children’s Hospital Medical Center, Cincinnati, Ohio&lt;BR /&gt;&lt;A href="https://www.mwsug.org/proceedings/2016/BI/MWSUG-2016-BI02.pdf" target="_blank"&gt;https://www.mwsug.org/proceedings/2016/BI/MWSUG-2016-BI02.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;BR,&lt;BR /&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898960#M44541</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-10-17T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How I can calculate the distance between two addresses?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898961#M44542</link>
      <description>&lt;P&gt;By the way,&lt;BR /&gt;You can also do reverse geocoding in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Home &amp;gt; SAS Communities Library &amp;gt; Reverse Geocoding Using PROC GINSIDE&lt;BR /&gt;Reverse Geocoding Using PROC GINSIDE&lt;BR /&gt;Started 4 weeks ago | Modified 4 weeks ago&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Reverse-Geocoding-Using-PROC-GINSIDE/ta-p/895337" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Reverse-Geocoding-Using-PROC-GINSIDE/ta-p/895337&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898961#M44542</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-10-17T15:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How I can calculate the distance between two addresses?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898962#M44543</link>
      <description>&lt;P&gt;Home &amp;gt; Programming &amp;gt; Programming &amp;gt; &lt;BR /&gt;Re: Find driving distance (google maps) using a list of 10 hospital addresses and individual zipcode&lt;BR /&gt;SOLVED topic&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Find-driving-distance-google-maps-usinga-list-of-10-hospital/m-p/884682#M349514" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Find-driving-distance-google-maps-usinga-list-of-10-hospital/m-p/884682#M349514&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:37:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/898962#M44543</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-10-17T15:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How I can calculate the distance between two addresses?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/966981#M48589</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440601"&gt;@Agha&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I should calculate the distance between home addresses and closest eye clinic. The addresses are saved in excel. Street, city and state have separate columns. I know I should add double quotation to each part of&amp;nbsp; the addresses and then find the distance. Can you please share the codes with me. I can not share the addresses with you but they are similar the list below. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Street&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;state&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;City&lt;/P&gt;&lt;P&gt;aaa bbb ccc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mnv&lt;/P&gt;&lt;P&gt;aa dddd eee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dvu&lt;/P&gt;&lt;P&gt;ffff oo nnm&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lmn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When it comes to long drives or even just routine trips, knowing your car's condition is essential for a smooth journey. I’ve learned the hard way how a small issue can turn a trip into a huge headache. One thing I always make sure to do before heading out is check my car’s history to avoid any nasty surprises, like hidden mileage discrepancies. A great tool for this is &lt;A href="https://www.faxvin.com/vin-check/mileage" target="_self"&gt;https://www.faxvin.com/vin-check/mileage&lt;/A&gt;, which lets you easily verify a vehicle’s mileage and overall history by just using the VIN. It’s super handy if you're buying a used car or just want to make sure your own vehicle is up to scratch before a long drive. Trust me, knowing these details makes all the difference when you're on the road!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Replace 'your_addresses.xlsx' with the path to your actual Excel file, and ensure the clinic's latitude and longitude are correctly entered.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 08:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-I-can-calculate-the-distance-between-two-addresses/m-p/966981#M48589</guid>
      <dc:creator>ugawoxoto61</dc:creator>
      <dc:date>2025-05-20T08:06:23Z</dc:date>
    </item>
  </channel>
</rss>

