satellite-track/README.md

42 lines
1.4 KiB
Markdown
Raw Normal View History

2023-01-05 03:13:17 +00:00
# satellite-track
2023-02-14 08:02:30 +00:00
[中文](https://github.com/jiangteng2019/satellite-track#readme) | [English](https://github.com/jiangteng2019/satellite-track/blob/master/README.en.md)
2023-01-05 03:13:17 +00:00
2023-02-14 08:02:30 +00:00
## 介绍
2023-02-03 09:16:20 +00:00
2023-02-13 08:28:30 +00:00
satellite-track 是一款追踪卫星轨道的程序使用cesium、vue、satelliteJS开发。支持24小时之内(性能考虑)的卫星和卫星星座轨道显示同时也支持自定义的卫星轨道数据TLE加载。数据来源于celestrak。
2023-02-03 09:16:20 +00:00
2023-02-14 08:02:30 +00:00
## 预览
2024-01-17 05:35:41 +00:00
#### [【GitHub Pages】](https://jiangteng2019.github.io/satellite-track/)
#### [【satellite-track】](http://120.48.134.120:10181/satellite-track/)
2023-02-07 08:44:46 +00:00
2024-01-17 05:35:41 +00:00
## 运行
```sh
# 克隆项目工程
git clone https://github.com/jiangteng2019/satellite-track.git
2024-01-19 06:15:21 +00:00
2024-01-17 05:35:41 +00:00
# 进入项目根目录
cd satellite-track
2024-01-19 06:15:21 +00:00
2024-01-17 05:35:41 +00:00
# 安装依赖
npm install
2024-01-19 06:15:21 +00:00
2024-01-17 05:35:41 +00:00
# 启动项目
npm run dev
2024-01-19 06:15:21 +00:00
2024-01-17 05:35:41 +00:00
# 编译打包
npm run build
```
编译好的文件无法使用浏览器的file协议打开你需要一个静态资源服务器如 nginx。
2023-02-03 09:16:20 +00:00
2023-02-13 02:05:23 +00:00
## 注意
2023-02-13 08:28:30 +00:00
1. github pages 访问速度慢TLE数据与cesium数据较大请耐心等待资源加载;
1. 如果航天器变轨频繁使用前需手动清除TLE缓存;
1. 为了节约性能satellite-track 做了如下限制:
2023-02-07 08:44:46 +00:00
- 卫星轨道数据点击显示,而非全量显示;
- 轨道数据预测未来24小时;
- 只能同时选择5个星座数据;
2023-02-03 09:16:20 +00:00
2023-02-13 08:28:30 +00:00
## 示例
2024-01-17 05:42:55 +00:00
![satellite-track](https://img2023.cnblogs.com/blog/1038573/202303/1038573-20230317144305572-182523586.jpg)