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

Hi all, 

 

I was creating a US county level population distribution map using the most recent mapsgfk.us_all dataset and I noticed that two counties were not being mapped correctly, they are being cut in half diagonally. The two counties are Fayette County, Illinois and Cross County, Arkansas. It was fairly apparent on my full map as they are white spaces in an otherwise completed map. I include code below that will allow you to see the issue and I included a screenshot of the output. Is there a way to manually correct this or is this behavior somehow intentional? Any input would be appreciated. Thanks. 

 

I am using SAS 9.4 TS1M5.

 

proc gmap map=mapsgfk.us_all data=mapsgfk.us_all /*all density=1*/;
   id id;
   choro county / nolegend /*levels=1*/;
   where statecode in ("IL", "AR");
run;
	quit;

IL and AR issue.png

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

2 options:

- Long term: Contact SAS tech support so SAS fixes their maps

- Short term: Zoom in onto that county with a where clause. Since it's a rectangle, there should just a handful of points. Add the missing points manually.

I'd do both.

 

 

View solution in original post

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

2 options:

- Long term: Contact SAS tech support so SAS fixes their maps

- Short term: Zoom in onto that county with a where clause. Since it's a rectangle, there should just a handful of points. Add the missing points manually.

I'd do both.

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

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