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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Update

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