转
http://daocaoren0001.blog.163.com/blog/static/21746184201322691886/
目前合理的做法是:
1.设GPS: 116.397428,39.90923
2.经过第一次百度转换BMap.Convertor.translate();
得到point: 116.41004950566,39.916979519873
x1=116.41004950566; y1=39.916979519873
3.2步得到的point再经百度转换BMap.Convertor.translate();
得到point2: 116.42270347909,39.924613508241
x2=116.42270347909;y2=39.924613508241
4.由x1,y1,x2,y2,经公式
x=2*x1-x2;
y=2*y1-y2;
得到
x=116.39739553223
y=39.909345531505004
5.比较x,y同GPS: 116.397428,39.90923坐标发现变化不大
总结:百度坐标转GPS,x经度,y纬度:
x=2*x1-x2; y=2*y1-y2;
其中x1,y1为原始百度坐标,x,y为转化后得到的GPS坐标