title1 "Carte des communes - Scoring";
proc gmap data = Carto_Synthese_Com1 map = carto_Communes1;
id commune;
choro Risque / legend = legend1 midpoints = "Obsolète" "Limite" "Vigilance" "Surveillance" "Critique" annotate = annotate_commune coutline = white;
run;
Hello,
I try to put the labels in the center on the card but it shifts.
Here is the code. I don't know what's wrong.
Can someone please help me and tell me what is wrong with my code.
A code proposal will also be welcome.
Thanks
Gick.
/* Put labels on the map */
%annomac;
proc sort data=carto_Communes; by commune;run;
%maplabel(carto_Communes,carto_Communes,annotate_commune,commune,commune ,font=Albany AMT, color=black, size=2.5, hsys=3);
/*end*/
title1 "Carte des communes - Scoring";
proc gmap data = Carto_Synthese_Com map = carto_Communes;
id commune;
choro Risque / legend = legend1 midpoints = "Obsolète" "Limite" "Vigilance" "Surveillance" "Critique" annotate = annotate_commune coutline = white;
run;
/* Put labels on the map */
%annomac;
proc sort data=carto_Communes; by commune;run;
%maplabel(carto_Communes,carto_Communes,annotate_commune,commune,commune ,font=Albany AMT, color=black, size=2.5, hsys=3);
/*end*/
title1 "Carte des communes - Scoring";
proc gmap data = Carto_Synthese_Com map = carto_Communes;
id commune;
choro Risque / legend = legend1 midpoints = "Obsolète" "Limite" "Vigilance" "Surveillance" "Critique" annotate = annotate_commune coutline = white;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.