BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Phoenix_LJ
Obsidian | Level 7

How does SAS read shapefiles data?  

  • I have four map files:

  • Phoenix_LJ_0-1634713872848.png

How does SAS create a map from these files!!!

Thank you in advance for your information !!!

1 ACCEPTED SOLUTION
2 REPLIES 2
GraphGuy
Meteorite | Level 14

Use Proc Mapimport.

 

Here's an example of the code - all you have to do is tell it where the .shp file is located ...

 

proc mapimport
   datafile='C:\temp\polygon.shp'
   out=my_map;
run;

 

 

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 Updates

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
  • 2 replies
  • 3039 views
  • 1 like
  • 3 in conversation