暂时使用星下点坐标作为图像左上角坐标
This commit is contained in:
10
pkg/calculator/const.go
Normal file
10
pkg/calculator/const.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package calculator
|
||||
|
||||
// WGS84 ellipsoid constants
|
||||
const (
|
||||
EarthRadius = 6378137.0 // 地球半径,单位米
|
||||
a = 6378137.0 // semi-major axis in meters
|
||||
f = 1 / 298.257223563 // flattening
|
||||
e2 = 2*f - f*f // square of eccentricity
|
||||
J2000Epoch = 2451545.0 // Julian date of J2000 epoch
|
||||
)
|
||||
Reference in New Issue
Block a user