Reputation: 15700
I'm using the following code in sas:
goptions reset=all border ;
goptions colors=(yellow steel purple pink red blue cyan orange green gray
black);
title1 "Congo";
title2 "11 Regions";
footnote j=r "Congo ";
proc gmap map=mapsgfk.dr_congo data=mapsgfk.dr_congo all density=6;
id id1;
choro id1/discrete;run;
quit;
and it generates the following map:
How do I remove the white space inside some of the regions?
Upvotes: 1
Views: 161
Reputation: 27508
The map data is segmented at the ID level. The ID1 value is a truncation of ID. The 'white-space' is due to a segment being associated to an id it does not belong to. Try:
proc gmap
map=mapsgfk.dr_congo data=mapsgfk.dr_congo all density=6
;
* simpler statements per DCR comment, removed format;
id id;
choro id1 / discrete;
run;
quit;
I believe there may still be some issues regarding lakes being drawn with a color.
Upvotes: 3