Coder Social home page Coder Social logo

jlleitschuh / gtfs-validator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from conveyal/gtfs-validator

0.0 2.0 0.0 5.69 MB

A Java framework for GTFS validation and statistics.

License: MIT License

Java 85.71% Shell 0.98% HTML 3.94% CSS 0.03% JavaScript 9.35%

gtfs-validator's Introduction

gtfs-validator

A Java framework for GTFS validation and statistics.

Build Status

How is this different than the Google-supported validator?

The Google TransitFeed-based validator is written in Python, and is quite slow on large feeds.

This validator uses the Onebusaway-GTFS library, written in Java and is far faster at processing large feeds.

Downloads

Snapshots are available here

Using this framework

There are then multiple options for use:

  1. Use the pre-built snapshot JAR. java -server -Xmx4g -Xms3g -jar gtfs-validator.jar yourGtfs.zip

  2. Import the services provided and build your own validation.

  3. Use the gtfs-validator-json and gtfs-validator-webapp according to the directions in those folders.

============== ValidatorMain

The ValidatorMain class logs a number of common GTFS errors to Standard Out on the console when run as a JAR. This includes:

  • Problems with route names
  • Bad shape coordinates
  • Unused stops
  • Duplicate stops
  • Missing stop coordinates
  • Missing stop times for trips
  • Stop times out of sequence
  • Duplicated trips (same times)
  • Overlapping trips when block_id is present
  • Missing shapes and shape coordinates
  • “Reversed” shapes with directions that do not agree with stop times.
  • Exhaustively going through the calendar and printing active service IDs and number of trips for that day.
  • Dates with no active service

gtfs-validator's People

Contributors

barbeau avatar kpwebb avatar laidig avatar landonreed avatar mattwigway avatar mohangandhigh avatar platzii avatar sheldonabrown avatar

Watchers

 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.