JavaScript editor for GTFS Pathways Data
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.
Quick steps to install, build and run pathways locally:
- cd into the project folder
npm clean-installto install dependencies (npm installalso works, but is slower as it also checks for available updates for the to be installed dependencies)npm run allto generate static assets (translation strings, icons, etc.)npm startto start up a development instance locally- open http://127.0.0.1:8080 in a web browser
A few more useful commands are:
npm testruns test suite: please execute these before submitting a pull request!npm lintchecks for for code formatting mistakesnpm run buildgenerates a new production build. All files generated by this are stored in the self-contained/distdirectory.
Pathways Editor deploys to GH Pages at https://taskarcenteratuw.github.io/GTFS-Pathways-Editor
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.
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:
- iD Editor architecture documentation covers the basic functions of the code base
- Read up on contributing and development style
- See open issues in the issue tracker if you're looking for contribution opportunities.
- TODO: add instructions for testing pre-release versions if we want to support that
Need help? Visit us at:
- OpenSidewalks Slack (
#generalchannel)
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.
- D3.js (BSD-3-Clause)
- CLDR (Unicode Consortium Terms of Use)
- editor-layer-index (CC-BY-SA 3.0)
- Font Awesome (CC-BY 4.0)
- Maki (CC0 1.0)
- Temaki (CC0 1.0)
- Röntgen icon set (CC-BY 4.0)
- Mapillary JS (MIT)
- iD Tagging Schema (ISC)
- name-suggestion-index (BSD-3-Clause)
- osm-community-index (ISC)
TODO: Update with grant information