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;

 

 

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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