- 积分
- 363
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-2-15
- 最后登录
- 1970-1-1
|
发表于 2018-9-27 20:45:47
|
显示全部楼层
楼主,你好,我也遇到了这个问题,但是你最后那个调用add_shp_polygons(xwks,map0,shpfn4),我有点不懂括号里的这些,括号里不是应该是wks,plot,shp_filename吗?我按照你这个试了一下,总是提示我这个错误,这是为什么啊 fatal:Variable (shp_filename) is undefined
这是我的脚本:undef("add_shp_polygons")
procedure add_shp_polygons(wks,plot,shp_filename)
local cnres
begin
cnres =True
cnres@gsFillColor = "White"
shp_filename ="/public1/home/hehuanran/cnmap/cnhimap.shp"
plot@amZone= gsn_add_shapefile_polygons(wks, plot,shp_filename,cnres)
end
add_shp_polygons(wks,plot,shp_filename) |
|