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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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