- 积分
- 350
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-10-19
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2012-11-9 17:23:21
|
显示全部楼层
string ProjStr = "+proj=lcc" + "+lat_1=30" + "+lat_2=60" + "+lat_0=0" + "+long_0=110" + "+x_0=0" + "+y_0=0"; //Lambert projection
//string ProjStr = "+proj=tmerc +ellps=krass +lon_0=116.35025181e +lat_0=39.86576583n +x_0=500000 +y_0=000000 +units=m +k=1.0 +towgs84=22,-118,30.5,0,0,0,0"; //beijing 54
MeteoInfoC.Projections.ProjectionInfo aProjInfo = new MeteoInfoC.Projections.ProjectionInfo(ProjStr);
layersLegend1.ActiveMapFrame.MapView.ProjectLayers(aProjInfo);
layersLegend1.Refresh();
正是我想要的,看到希望了
麻烦看下上面的代码, 用lambert 还是出不来坛主的效果,是不是参数的问题。
另外红色的是北京54的proj4参数,从网上抄得,程序报错,应该是不全吧。
|
|