mostafa-kheibary / tehran-metro-data

Tehran metro station data as graph in json format
https://mostafa-kheibary.github.io/tehran-metro-data/
Open Data Commons Open Database License v1.0
53 stars 1 forks source link
graph graph-data metro-stations neo4j

Tehran Metro Stations Data Repository

This repository contains data related to the Tehran Metro stations. The data is available in both JSON format and Neo4j database format, providing different options for utilizing the data.

Repository Contents

  1. data/stations.json.json: This file contains the Tehran Metro stations data in JSON format. It includes information such as station names, coordinates, and other relevant details.

  2. data/neo4j.stations.json.: This file contains the Tehran Metro stations data in the Neo4j json database format. The Neo4j format allows for storing and querying graph data, which can be useful for analyzing the relationships between different metro stations.

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:

Example:

{
    "Tajrish": {
        "property": {
            "disabled": false,
            "name": "Tajrish",
            "fa": "تجریش",
            "colors": ["#E0001F"],
            "lines": [1]
        },
        ...
    },
    ...
}

Station Relations

Each station can have relations with other stations. These relations are represented as an array of objects within the station object. Each relation object contains similar properties to the station object, including:

Example:

{
    "Tajrish": {
        "property": {
            ...
        },
        "relations": [
            {
                "name": "Gheytariyeh",
                "disabled": false,
                "fa": "قیطریه",
                "colors": ["#E0001F"],
                "lines": [1]
            },
            ...
        ]
    },
    ...
}

This structure allows for representing stations, their properties, and their relations in a structured and organized manner. You can use this data to build applications, perform analyses, or create visualizations related to the Tehran Metro stations.

Donation

License

The data in this repository is licensed under the Open Data Commons License. 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