diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000000000000000000000000000000000000..aac0359eb3cc26f441400d06c03e010a8e85a2bc --- /dev/null +++ b/README.en.md @@ -0,0 +1,58 @@ +# Beijing Subway Line Information + +## Enclosed Subway Line Information + +This project contains detailed information about Beijing subway lines, including stations, first and last train times, transfer information, line colors, and more. The data structure is organized in JavaScript object format for easy direct use in front-end applications. + +## Features + +- **Comprehensive Line Data**: Includes major lines such as Line 1, Line 2, Line 3, Line 4, Line 5, Line 6, Line 7, Line 8, Line 9, Line 10, Line 11, Line 12, Line 13, Line 14, Line 15, Line 16, Line 17, Line 19, Changping Line, Fangshan Line, Yanfang Line, Yizhuang Line, S1 Line, Capital Airport Line, and Daxing Airport Line. +- **Station Information**: Each line includes a complete list of stations. +- **Operating Hours**: Provides first and last train times for each line. +- **Transfer Information**: Clearly marks transferable lines at each station. +- **Line Direction**: Describes the direction and route of each line. +- **Line Colors**: Uses official line color codes for easy visual representation. + +## Data Structure Example + +```javascript +const subwayLines = { + "Line 1/Batong Line": { + stations: ["Pingguoyuan (Closed for Construction)", "Gucheng", "Bajiao Amusement Park (Closed for Construction)", ...], + firstTrainTime: "05:10", + lastTrainTime: "23:30", + direction: "West from Pingguoyuan Station to East at Universal Resort", + transfers: { + "Fuxingmen": ["Line 2"], + "Xidan": ["Line 4/Daxing Line"], + ... + }, + color: "#BE3631" // Red + }, + ... +}; +``` + +## Use Cases + +This data structure can be directly used to develop Beijing subway-related query, navigation, or visualization applications, such as: +- Visual display of subway line maps +- Transfer route recommendations +- Subway operating time queries +- Station location information display + +## Copyright Information + +This project follows an open-source license. For details, please refer to the LICENSE file in the repository. + +## Contribution Guidelines + +We welcome contributions of additional line data or improvements to existing data. When submitting a Pull Request, please ensure: +1. Correct line names and colors are used. +2. A complete list of stations is provided. +3. Accurate transfer information is marked. +4. The data source and update time are clearly noted. + +## Data Source + +The data comes from the official Beijing Subway website and publicly available operational information. For the latest updates, please refer to Beijing Subway Online (http://www.bjsubway.com/). \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..753a690ec617141013116f3c711e57fbbd0437f0 --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ + + +# 北京地铁线路信息 + +## 箱式地铁线路信息 + +本项目包含北京地铁线路的详细信息,包括各线路的站点、首末班车时间、换乘信息和线路颜色等。数据结构采用JavaScript对象形式组织,便于前端直接使用。 + +## 功能特点 + +- **详尽的线路数据**:包含北京1号线、2号线、3号线、4号线、5号线、6号线、7号线、8号线、9号线、10号线、11号线、12号线、13号线、14号线、15号线、16号线、17号线、19号线、昌平线、房山线、燕房线、亦庄线、S1线、首都机场线、大兴机场线等主要线路 +- **站点信息**:每个线路包含完整的站点列表 +- **运营时间**:提供各线路的首末班车时间 +- **换乘信息**:明确标注各站点可换乘的线路 +- **线路方向**:描述各线路的走向和方向 +- **线路颜色**:使用官方线路颜色代码,便于可视化展示 + +## 数据结构示例 + +```javascript +const subwayLines = { + "1号线/八通线": { + stations: ["苹果园(封闭施工)", "古城", "八角游乐园(封闭施工)", ...], + firstTrainTime: "05:10", + lastTrainTime: "23:30", + direction: "西起苹果园站,东至环球度假区", + transfers: { + "复兴门": ["2号线"], + "西单": ["4号线/大兴线"], + ... + }, + color: "#BE3631" // 红色 + }, + ... +}; +``` + +## 使用场景 + +该数据结构可直接用于开发北京地铁相关的查询、导航或可视化应用,如: +- 地铁线路图可视化展示 +- 换乘方案推荐 +- 地铁运营时间查询 +- 站点位置信息展示 + +## 版权信息 + +本项目遵循开源协议,具体请查看仓库中的 LICENSE 文件。 + +## 贡献指南 + +欢迎贡献更多线路数据或优化现有数据。提交 Pull Request 时请确保: +1. 使用正确的线路名称和颜色 +2. 提供完整的站点列表 +3. 标注准确的换乘信息 +4. 注明数据来源和更新时间 + +## 数据来源 + +本数据来源于北京地铁官方网站及公开的运营信息,具体可参考北京地铁在线(http://www.bjsubway.com/)获取最新信息。 \ No newline at end of file