Greetings,
I need to create a US map that contains all of its territories. I'm currently using SAS 9.3. The US map dataset provided with 9.3 only contains Puerto Rico. I've tried using the North American map and only keeping the countries that I need. The problem with this approach is that the state boundaries are not outlined on the map. I've tried to create my own map dataset by retrieving, for example, the Virgin Islands coordinates from the North American dataset and merging it with the US map dataset. Although VI was added to the map, it was placed on top of CA and it was very tiny. I think the X and Y coordinates need to be adjusted, but I'm not sure how to do that. Any suggestions?
Thanks in advance.
41776 - Create a map with colors defined from a color ramp shows an example with moving Alaska and Hawaii to show near continental US. That may give you some pointers.
The Virgin Islands are small, Guam and the other protectorates not much bigger.
Are you using 9.3m2, by any chance? If so, you can use MAPSGFK.US_ALL. It contains ALL of the parts of the US including the Virgin Islands. Look to see if the library MAPSGFK exists and contains this data set. (MAPSGFK is the way to go in the future. MAPS is being eliminated in the future and is not being updated.)
If not, you need to combine the data sets using the UNprojected data and combine the UNprojected data into it.
Look at Proc Contents for the various data sets in MAPS to see if they are unprojected. For example, you can use the data sets COUNTIES, STATES or NAMERICA.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.