我试图修复这个代码,它使用astlib转换坐标到使用astropy坐标模块。这里是一个副本的代码: from astLib import astCoords as coords
#Convert B1950 coordinates (as given)
clra=zeros(3)
cldec=zeros(3)
for i in range(len(clra)):
clra[i]
我试图将我从游戏中获得的坐标转换为使用Google地图V3的自定义图像地图。 我从游戏中得到的COORDS均为15360.介于0和在自定义映射东北角LatLng是(95,180)和西南角LatLng是(-82.5,-180)。 所以,我的功能从游戏COORDS转换到谷歌地图LatLng是: function getLatLngFromCoords(x, y) {
x = parseFlo