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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1613 views
  • 1 like
  • 3 in conversation