https://github.com/lcy362/mobo-subway
北京地铁路线小工具 A tool for Beijing subway
https://github.com/lcy362/mobo-subway
chinese java mapdb subway
Last synced: 6 days ago
JSON representation
北京地铁路线小工具 A tool for Beijing subway
- Host: GitHub
- URL: https://github.com/lcy362/mobo-subway
- Owner: lcy362
- License: mit
- Created: 2018-03-20T06:52:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T11:52:52.000Z (about 2 years ago)
- Last Synced: 2024-06-06T10:17:40.601Z (about 2 years ago)
- Topics: chinese, java, mapdb, subway
- Language: Java
- Homepage:
- Size: 464 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 北京地铁小工具
北京地铁小工具: 输入一个起点,获取到其他所有站点的最少站数及路线详情、换乘数。
参考: https://lichuanyang.top/posts/13793
## 数据获取
初始化时解析高德地图的json数据,并存储在本地mapdb中,后续启动时直接加载mapdb数据。
## 寻路算法
dijkstra算法的简单实现,只考虑站数,未针对换乘数、换乘时间、站点距离等进行优化。
## 使用例子
参考测试用例
## Todo
1. 功能更强大的入口方法
## ChangeLog
### 2024/2/23 v2.0.0
代码全面重构
### 2020/7/24 v1.1.1
增加点对点寻路功能
### 2020/6/24 v1.1.0
增加按站点直线距离规划路径
### 2020.3.13 v1.0.1
增加springBoot支持
### 2018.3.23 v1.0.0
初始版本发布
# fox-subway
A helpful tool for Beijing subway. Enter a starting point, then get the minimum number of stops and route details to all other stations.
refer : https://lichuanyang.top/posts/13793
## DATA
The data is from Ali-Map, then stored in local mapDB.
## EXAMPLE
see tests
## TODO
1. get stations distance data
2. more powerful entrance method
## ChangeLog
### 2024/2/23 v2.0.0
refactor all codes
### 2020/7/24 v1.1.1
add path runner
### 2020/6/24 v1.1.0
add router with direct distance
### 2020.3.13 v1.0.1
add springBoot support
### 2018.3.23 v1.0.0
initial version