BookmarkSubscribeRSS Feed
GKati
Pyrite | Level 9

Hello SAS Community, 

 

I am looking for the best way to calculate the driving distance between postal codes in the Netherlands. 

 

What would be the best way to go about this problem?

 

Thx

4 REPLIES 4
Criptic
Lapis Lazuli | Level 10
Do you want to calculate the real driving distance, like it is done in a navigation system, or take the center of one postal code area and calculate the distance to the center of another postal code area?
GKati
Pyrite | Level 9

Yes real driving distance. Thx

Criptic
Lapis Lazuli | Level 10

The link that @art297 provided will be your best shot at doing something like that. Calculating driving times and espically routes on a turn by turn basis is a hard problem which is best solved by consuming an api like the one provided by Google Maps.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 947 views
  • 1 like
  • 3 in conversation