程序:
proc mapimport datafile="E:\map\dishi.shp" out=chinacity;
rename "经度"=long "纬度"=lat;
run;
proc import datafile="E:\map\gdp.xlsx" out=gdp;
run;
legend1 down=10 label=("GDP(万元)") position=(middle right outside);
proc gmap map=chinacity data=gdp;
id name;
choro gdp/legend=legend1 levels=10;
run;
结果:
日记提示:
不知道问题出在哪里?求大神帮助