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;
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.
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.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.