Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mostafa-kheibary/tehran-metro-data
Tehran metro station data as graph in json format
https://github.com/mostafa-kheibary/tehran-metro-data
graph graph-data metro-stations neo4j
Last synced: about 16 hours ago
JSON representation
Tehran metro station data as graph in json format
- Host: GitHub
- URL: https://github.com/mostafa-kheibary/tehran-metro-data
- Owner: mostafa-kheibary
- License: odbl-1.0
- Created: 2023-07-12T10:34:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-26T12:40:35.000Z (3 days ago)
- Last Synced: 2024-12-26T13:37:17.431Z (3 days ago)
- Topics: graph, graph-data, metro-stations, neo4j
- Language: HTML
- Homepage: https://mostafa-kheibary.github.io/tehran-metro-data/
- Size: 62.5 KB
- Stars: 59
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Tehran Metro Graph Data
This repository contains data related to the Tehran Metro stations. The data is available in JSON format as a graph structure data, providing different options for utilizing the data.
## Repository Contents
1. `data/stations.json`: This file contains the Tehran Metro stations data in JSON format. It includes information such as station names, coordinates, and other relevant details.
## Data Structure (data/stations.json)
The data in this repository follows a specific structure to represent the Tehran Metro stations. Here's an overview of the structure:
### Station Properties
Each station is represented by an object containing the following properties:
- `"disabled"`: A boolean value indicating if the station is disabled or not.
- `"name"`: The name of the station in English.
- `"translations"`: An object containing translations of the station name in different languages.
- `"fa"`: The name of the station in Persian (Farsi).
- ***[Other Languages]***: You can add more language translations as needed.
- `"colors"`: An array of color codes associated with the station. This can be used to represent the station on maps or in visualizations.
- `"lines"`: An array of line numbers associated with the station. This indicates the metro lines that pass through the station.Example:
```json
{
"Tajrish": {
"name": "Tajrish",
"translations":{
"fa": "تجریش"
},
"lines": [1],
"longitude": "51.433643000000004",
"latitude": "35.804501",
"address": "خیابان شریعتی-ضلع جنوب غربی میدان قدس",
"wc": false,
"coffeeShop": false,
"groceryStore": false,
"fastFood": false,
"atm": false,
"relations": ["Gheytariyeh"]
},
...
}
```### Station Relations
Each station can have relations with other stations. These relations are represented as an array of names within the station object.
Example:
```json
{
"Gheytariyeh": {
...
"relations": ["Tajrish", "Shahid Sadr"]
},
...
}
```## License
The data in this repository is licensed under the [Open Data Commons License](https://opendatacommons.org/licenses/). Please refer to the license file for more details on the terms and conditions of using the data.
If you have any questions or suggestions regarding the data or this repository, feel free to open an issue or contact me