satellite-geo-calc
English | 简体中文
This is a tool for satellite positioning related calculations. It mainly provides functions such as space coordinate conversion, dop calculation, GPS time conversion, and Mercator projection coordinate conversion. It can also be used as a reference for related functions.
Please use from v0.0.7
Installation
npm install --save-dev satellite-geo-calc
Usage
Browser
<script src="./node_modules/satellite-geo-calc/dist/bundle.js"></script>
CommonJs
let satellite_geo_calc = require
ES module
import satellite_geo_calc from 'satellite-geo-calc'
API
Space coordinate conversion
// coordinate transfer 1. lla to ecef@param
Mercator projection coordinate conversion
// mercator transfer 1. mercator transfer@param
Dop calculation
// dop calculate 1. dop calculate@param array , child is
GPS time calculation
// gps time 1. unix timestamp to gps time@param <Number> 10 bits unix timestampsatellite_geo_calc.gpsweek.u2w// output {wn: 2104, tow: 309448} 2. gps time to unix timestamp@param