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.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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