Giter Site home page Giter Site logo

railways's Introduction

Indian Railways Data

This repository has Indian Railways data that Sanjay and Sajjad have been gathering for a few months. Read more here.

There are three JSON files:

Stations

GeoJSON FeatureCollection, each Feature is a Station and looks like:

{
    "geometry": {
        "type": "Point",
        "coordinates": [75.4516454, 27.2520587]
    },
    "type": "Feature",
    "properties": {
        "state": "Rajasthan",
        "code": "BDHL",
        "name": "Badhal",
        "zone": "NWR",
        "address": "Kishangarh Renwal, Rajasthan"
    }
}

Trains

GeoJSON FeatureCollection, each Feature is a Train and looks like:

{
    "geometry": {
        "type": "LineString",
        "coordinates": [
            [72.89173899999999, 19.070320000000002],
            [78.2266994458, 26.0352337224],
            [78.18700399999999, 26.145594],
            [78.18229199999999, 26.216483]
        ]
    },
    "type": "Feature",
    "properties": {
        "third_ac": true,
        "arrival": "15:35:00",
        "from_station_code": "LTT",
        "name": "Mumbai LTT - Gwalior (Weekly) Special",
        "zone": "CR",
        "chair_car": true,
        "first_class": true,
        "duration_m": 45,
        "sleeper": true,
        "from_station_name": "LOKMANYA TILAK TERM",
        "number": "01101",
        "departure": "15:50:00",
        "return_train": "01102",
        "to_station_code": "GWL",
        "second_ac": true,
        "classes": "",
        "to_station_name": "GWALIOR JN",
        "duration_h": 23,
        "type": "Exp",
        "first_ac": true,
        "distance": 1216
    }
}

Schedules

An array of objects. Each object is a schedule which defines a Train stop at a Station.

{
    "arrival": "None",
    "day": 1,
    "train_name": "Falaknuma Lingampalli MMTS",
    "station_name": "KACHEGUDA FALAKNUMA",
    "station_code": "FM",
    "id": 302214,
    "train_number": "47154",
    "departure": "07:55:00"
}

License

CC0

railways's People

Contributors

geohacker avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.