Features: |
MAP= required argument referring to GfK map data DATA= required argument referring to response data ID statement
|
Other features: |
GREMOVE procedure SORT procedure Annotate Facility |
Data set: | MAPSGFK.BELARUS (map data) |
Sample library member: | GMPGLABL |
goptions reset=all border;
title "Labeling Provinces with the MAPLABEL Macro"; footnote j=r "This map drawn with GfK map data";
proc sort data=mapsgfk.belarus out=belarus; by id1 id; run;
proc gremove data=belarus out=belarus_outline; by id1; id id; run;
%annomac; %maplabel (belarus_outline, mapsgfk.belarus_attr, work.labelout, id1name, id1, font=Albany AMT, color=black, size=1.5, hsys=3);
proc gmap map=belarus data=belarus; id id1 id; choro id1 / nolegend annotate=labelout coutline=gray stat=first; run; quit;
title "Labeling Provinces with the MAPLABEL Macro"; footnote j=r "This map drawn with GfK map data";
%annomac; %maplabel (belarus_outline, mapsgfk.belarus_attr, work.labelout, id1name, id1, font=Albany AMT, color=black, size=1.5, hsys=3);