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

Is it possible to make a map like the one below in SAS? I can't find any examples of such a map online nor any SUGI proceedings on it.

 

http://www.cpwservice.com/index_htm_files/fastfooddensity1.jpg

 

Looks like it'd be a contour plot by coordinates overlaid on a projected map. But how do you go about doing that? Is it possible?

 

Any help would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

See the paper and references in

Massengill and Kolovos (2012) "Together at last: Spatial analysis and SAS mapping"

 

View solution in original post

6 REPLIES 6
ballardw
Super User

Here's a link with one form. though the data is precipitation the principal could be the same: http://robslink.com/SAS/democd82/precipitation_map_10inches_info.htm

And here's one using smaller regular filled circles to simulate a larger area

http://robslink.com/SAS/democd75/solar_potential_map_info.htm

 

Explore Robslink.com for many examples of graphs and maps.

Rick_SAS
SAS Super FREQ

See the paper and references in

Massengill and Kolovos (2012) "Together at last: Spatial analysis and SAS mapping"

 

newnoise
Fluorite | Level 6
This is great! Thanks for passing along!
Darrell_sas
SAS Employee

Basically, there are 2 ways to do it and neither are easy without the proper data.

First, there is making the heat map with annotate.  You have to draw the heat map in the correct locations.  The examples that Ballardw and Rick suggested are using annotate.

Second, there is a counties map.   If you have the data per county, you can do something like this weather map:

 

weathermap.PNG

newnoise
Fluorite | Level 6
Thanks for the suggestion! We have county-level data, but I didn't want the unit of analysis to be county, as they can be rather large, particularly out west. I wanted to be able to use our point-level coordinates to get densities around specific areas, regardless of state or county lines. I think the Massengill and Kolovos (2012) paper gets me where I want to go. It's not simple, but it looks like it'd get the job done.
ballardw
Super User

You don't mention what the heat map is actually intended to display. Please note that in those "big counties out west", since I work with such data, that many interpolations across those areas can be extremely misleading. In some cases related to characteristics of people because there are no people resident in the area and for phyiscal characteristics such as weather phenomena that elevation often has a large influence on results.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 3081 views
  • 3 likes
  • 4 in conversation