Skip to content

TaskarCenterAtUW/GTFS-Pathways-Editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript editor for GTFS Pathways Data

TODO: Update build workflow build

Basics

A JavaScript-based tool to map transit stations, using the GTFS Pathways Data data specification. Developed by the Taskar Center for Accessible Technology.

  • It supports all popular modern desktop browsers: Chrome, Firefox, Safari, Opera, and Edge.
  • Pathways Editor is a fork of iD OpenStreetMap Editor
  • Data is rendered with d3.js.
  • Check out our roadmap for current & in-development features.

Local Installation

Quick steps to install, build and run pathways locally:

Building Pathways Editor

  1. cd into the project folder
  2. npm clean-install to install dependencies (npm install also works, but is slower as it also checks for available updates for the to be installed dependencies)
  3. npm run all to generate static assets (translation strings, icons, etc.)
  4. npm start to start up a development instance locally
  5. open http://127.0.0.1:8080 in a web browser

A few more useful commands are:

  • npm test runs test suite: please execute these before submitting a pull request!
  • npm lint checks for for code formatting mistakes
  • npm run build generates a new production build. All files generated by this are stored in the self-contained /dist directory.

Deploying a New Build

Pathways Editor deploys to GH Pages at https://taskarcenteratuw.github.io/GTFS-Pathways-Editor

To deploy:

npm run deploy

More details: this runs the build script then clones anything in the /dist directory to the gh-pages branch. This branch only contains dist files and shouldn't be edited directly. GitHub automatically gets the updated files, the deployments can be seen here.

Development Information

Pathways Editor is a fork from iD Editor, an open-source project with 10+ years of development history. For this reason, development can be tricky to jump into. The best way to get familiar with the code style and patterns is to check out the documentation for iD Editor: How to Get Started with iD Editor

Other resources:

Need help? Visit us at:

License

TODO: Update License to be accurate

The following is the license information for iD:

iD is available under the ISC License. See the LICENSE.md file for more details.

iD also bundles portions of the following open source software.

Thank you

TODO: Update with grant information

About

GTFS Pathways editor in JavaScript, based off the OpenStreetMap iD Editor

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages

  • JavaScript 94.6%
  • CSS 5.3%
  • Other 0.1%