{"id":13545982,"url":"https://github.com/andredarcie/gtfs-visualizer","last_synced_at":"2025-04-28T13:31:02.503Z","repository":{"id":80752120,"uuid":"66582774","full_name":"andredarcie/gtfs-visualizer","owner":"andredarcie","description":"Data viewer based on GTFS format.","archived":false,"fork":false,"pushed_at":"2016-12-13T19:28:08.000Z","size":962,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-01T12:11:15.903Z","etag":null,"topics":["draw","gtfs","gtfs-format","gtfs-visualizer","js","library"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andredarcie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-25T18:24:07.000Z","updated_at":"2024-08-01T12:11:15.904Z","dependencies_parsed_at":"2023-03-12T12:08:35.817Z","dependency_job_id":null,"html_url":"https://github.com/andredarcie/gtfs-visualizer","commit_stats":null,"previous_names":["andrendarcie/gtfs-visualizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredarcie%2Fgtfs-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredarcie%2Fgtfs-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredarcie%2Fgtfs-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredarcie%2Fgtfs-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andredarcie","download_url":"https://codeload.github.com/andredarcie/gtfs-visualizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319747,"owners_count":21570450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["draw","gtfs","gtfs-format","gtfs-visualizer","js","library"],"created_at":"2024-08-01T12:00:29.346Z","updated_at":"2025-04-28T13:30:57.399Z","avatar_url":"https://github.com/andredarcie.png","language":"HTML","funding_links":[],"categories":["Data Viewers"],"sub_categories":[],"readme":"# GTFS Visualizer\n\n*Data viewer for gtfs* [![CodeClimate](https://codeclimate.com/github/AndreNDarcie/gtfs-visualizer/badges/gpa.svg)]\n(https://codeclimate.com/github/AndreNDarcie/gtfs-visualizer) [![IssueCount](https://codeclimate.com/github/AndreNDarcie/gtfs-visualizer/badges/issue_count.svg)](https://codeclimate.com/github/AndreNDarcie/gtfs-visualizer)\n\n:bus: Library responsible for generating HTML data based on the GTFS format. Depends on [this](https://github.com/andredarcie/node-gtfs-api) API.\n\n## GTFS Overview\n\n  The General Transit Feed Specification (GTFS), also known as GTFS static or static transit to differentiate it from the GTFS realtime extension, defines a common format for public transportation schedules and associated geographic information. GTFS \"feeds\" let public transit agencies publish their transit data and developers write applications that consume that data in an interoperable way. *(from google developers)*\n\n  Read more about [here](https://developers.google.com/transit/gtfs/).\n\n## Getting started\n\n  Clone from github:\n\n    git clone git@github.com:andredarcie/gtfs-visualizer.git\n\n    cd gtfs-visualizer\n\n  Start the database with agency's data:\n\n    mongod\n\n  Start the [node gtfs api](https://github.com/andredarcie/node-gtfs-api):\n\n    node index.js\n\n  Configure the `js/settings.js` file\n\n  Open the index.html in your browser\n\n  (Optional) Gulp task runner\n\n    npm install\n\n    // Run gulp:\n    gulp\n\n    // To run individual tasks:\n    gulp \u003ctask\u003e \u003cothertask\u003e\n\n  This example depends on [Bootstrap](http://getbootstrap.com/), [jQuery](http://jquery.com/),\n  [Leaflet](http://leafletjs.com/), [typeahead](https://twitter.github.io/typeahead.js/) and [Gulp](http://gulpjs.com/).\n\n## Library Functions\n### Agencies\n  - **Draw Agency Stop**: Draws a stop on the map, with the position and agency name.\n\n  ```javascript\n    Generator.drawAgencyStop(data);\n  ```\n  ![Agency Stop](img/readme/functions/agency-stop.PNG)\n\n  - **Draw Agency Popup**: Draws a popup on the stop, with the agency's information.\n\n  ```javascript\n    Generator.drawAgencyPopup(data);\n  ```\n  ![Agency Popup](img/readme/functions/agency-popup.PNG)\n\n### Routes\n  - **Draw Routes List**: Generates the HTML code a list of routes.\n\n  ```javascript\n    Generator.drawRoutesList(data);\n  ```\n  ![Routes List](img/readme/functions/routes-list.PNG)\n\n  - **Draw Shapes**: Draws on the map a line between the points of shape.\n\n  ```javascript\n    Generator.drawShapes(data);\n  ```\n  ![Shapes](img/readme/functions/shapes.PNG)  \n\n  - **Draw Stops**: Draws on the map all the stops in a route.\n\n  ```javascript\n    Generator.drawStops(data);\n  ```\n  ![Shapes](img/readme/functions/stops.PNG)   \n\n  - **Draw Stops Popup**: Draws a popup on the stop, with the stop information.\n\n  ```javascript\n    Generator.drawStopsPopup(stop_id,stop_name,stops_desc);\n  ```\n  ![Shapes](img/readme/functions/stop-popup.PNG)\n\n### Plan a Trip\n  - **Draw Stops Near**: Draw the stops near of other stop.\n\n  ```javascript\n    Generator.drawStopsNear(data);\n  ```\n\n## Result\n![GTFS Visualizer](img/readme/gtfs-v.PNG)\n\n## License\nThe gtfs-visualizer is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandredarcie%2Fgtfs-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandredarcie%2Fgtfs-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandredarcie%2Fgtfs-visualizer/lists"}