Features: |
MAP= required argument referring to GfK map data DATA= argument referring to response data ID statement
|
Other features: |
SAS DATA step with assignment statements GPROJECT procedure Annotate facility |
Data sets: | MAPSGFK.AUSTRIA (map data)
MAPSGFK.CZECH_REPUBLIC (map data) MAPSGFK.HUNGARY (map data) |
Sample library member: | GMPGCITA |
data all; length name $18; set mapsgfk.austria(in=k1) mapsgfk.czech_republic(in=k2) mapsgfk.hungary; if k1 then name='Austria'; else if k2 then name='Czech Republic'; else name='Hungary'; x=long; y=lat; run;
data cities; set mapsgfk.world_cities(where=(rank=1 and isoname in:('Austria' 'Czech' 'Hung'))); x=long; y=lat; run;
data labels; length color $8 text $55; retain style 'Thorndale AMT' function 'label' xsys ysys '2' hsys '3' when 'a'; set cities; text='V'; style='marker'; color='CX0BB5FF'; size=2; position='5'; output; text=' '||city; position='2'; size=1.75; style=' '; color='dark purple'; style='Thorndale AMT'; if city in:('Gyor' 'Ostrav' 'Inns' 'Kecs') then position='8'; if city in:('Salz') then position='6'; output; run;
title1 "Annotating Cities"; footnote j=r "This map drawn with GfK map data"; legend1 label=("Country Name:");