Giter Site home page Giter Site logo

kostjerry / gtfs-station-builder Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 4.0 3.42 MB

UI tool to help build the internal structure of stations (based on GTFS standard)

License: MIT License

HTML 0.74% CSS 5.91% TypeScript 92.78% JavaScript 0.56%
gtfs-static stations

gtfs-station-builder's Introduction

GTFS-station-builder

Try it out!

  1. Open https://kostjerry.github.io/gtfs-station-builder/sample/.
  2. Click "LOAD SAMPLE DATA" button or choose your own feed.
  3. Choose which station to build.
  4. Enjoy the station building process.
  5. Click "Save".
  6. Click "Download" to get the zipped feed.

Shortcuts

  • Double click on map: add location.
  • Double click on location: open location properties popup.
  • Double click on pathway: open pathway properties popup.
  • Ctrl+double click on map: add several objects describing fare and exit gates.
  • Right click on pathway: make it able to be reconnected to another location.
  • Enter on any input field in Location or Pathway popup: apply changes.
  • Delete on location or on pathway: delete it.
  • ESC: close Location or Pathway popup.

Restrictions on the input data

The input is GTFS-static feed in one zip archive or a set of files that form GTFS-static feed together.

  • Required files: stops.txt and pathways.txt.
  • Stops.txt must contain at least one station.
  • Stops.txt must have located platforms and entrances because there is no way to add them in the builder.
  • All locations in stops.txt must have specified coordinates (even if it's a generic node). This way we will know how to place all locations relative to each other on the plane to show you the network.

Data sample

Download the sample.

Contributing

Project in written based on ReactJs framework.
To run project locally in development mode type npm start.
Open http://localhost:3000 to view it in the browser.
The page automatcally reloads once you edit the code.
You will also see any lint errors in the console.

Known issues

  • No translations support.
  • No way to add platforms and entrances.

License

The project is licensed under MIT License.

gtfs-station-builder's People

Contributors

kostjerry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.