LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 24 Jun 2009 14:25:26 -0700
Reply-To:   George Joseph <gjman@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   George Joseph <gjman@HOTMAIL.COM>
Subject:   Re: Is it possible to calculate DRIVING distance in SAS
Comments:   To: msz03@albany.edu
In-Reply-To:   <4471.96.228.102.222.1245728185.squirrel@webmail.albany.edu>
Content-Type:   text/plain; charset="iso-8859-1"

Mike, Two followup questions on your wiki page http://www.sascommunity.org/wiki/Driving_Distances_and_Drive_Times_using_SAS_and_Google_Maps

1) Wouldn't SYPUTX be more robust (at least more modern) when I tried it with SYMPUTX it seems to work just fine?

2) How how do you extract the "in traffic" time from this code if it is present? Eg. It says 52 mins for travel time but 2 hours and 30 minutes in traffic.

-G

> Date: Mon, 22 Jun 2009 23:36:25 -0400 > Subject: Re: [SAS-L] Is it possible to calculate DRIVING distance in SAS > From: msz03@albany.edu > To: SAS-L@LISTSERV.UGA.EDU > > hi ... forgot to mention one other, non-SAS resource on the web ... > > https://webgis.usc.edu/Services/ShortestPath/Default.aspx > > the USC GIS Research Lab states ... > > "Our services are provided free of charge to academic, non-prof"it, > and governmental researchers and institutions. All we ask is that you > cite us in your work and/or add a link to us on your website." > > -- > Mike Zdeb > U@Albany School of Public Health > One University Place > Rensselaer, New York 12144-3456 > P/518-402-6479 F/630-604-1475 > > > hi ... not sure if you can do that with SAS GIS, but you can do it with Google Maps > > > > so, take a look at ... > > > > http://www.sascommunity.org/wiki/Driving_Distances_and_Drive_Times_using_SAS_and_Google_Maps > > > > you should be able to modify the code shown there and use it with your data > > > > I recently used it with approximately 1,000 pairs of ZIPS > > (I was satisfied with centroid-to-centroid distance and time) > > and it was pretty fast > > > > -- > > Mike Zdeb > > U@Albany School of Public Health > > One University Place > > Rensselaer, New York 12144-3456 > > P/518-402-6479 F/630-604-1475 > > > > > >> Suppose we have database with the following VARS and say about 1000 obs > >> Address_Line1_Individual > >> Address_Line2_Individual > >> City_Individual > >> Zip_Individual > >> Address_Line1_Facility > >> Address_Line2_Facility > >> City_Facility > >> Zip_Facility. > >> > >> Is it possible to calculate driving distance (shortest/fastest) using SAS > >> (SAS/GIS) for EACH address pair. > >> > > >


Back to: Top of message | Previous page | Main SAS-L page