BookmarkSubscribeRSS Feed
adiaz
Calcite | Level 5

Hello everybody !

 

I need to obtain maps coordinates (lat and lng) of several addresses (of Madrid) and intersections. I have been investigating about it and it seems that I can with proc geocode. Can someone help me with that? I have never used this proc or something like that.

 

Thank you very much.

Alfonso Díaz

1 REPLY 1
ballardw
Super User

Have you looked at the documentation for Proc Geocode? There a number of look up data sets needed, each of which needs to have specific variables and content for the Proc to work. When you say "Madrid" I am assuming that you want to code for Spain and possible surrounding areas to some extent. The online documentation for the procedure shows how to create a postal code look up data set and use that. The idea would be similar for street level (since you say "intersection") but the reference data sets for addresses are more complex.

 

I do not know if SAS has provided any of the data sets needed for Spain. You may have to contact the SAS technical support to see such exists of if they know of a source of data that is suitable for conversion into the needed look up sets. Even with that I am not sure whether  "intersection" per se is a valid option in Proc Geocode.

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 951 views
  • 0 likes
  • 2 in conversation