Git Product home page Git Product logo

Comments (4)

skinkie avatar skinkie commented on May 2, 2024

What was the value that we removed last time here?

from transit.

barbeau avatar barbeau commented on May 2, 2024

@skinkie I think this removal of the REPLACEMENT value for TripDescriptor.ScheduleRelationship is most likely the removal you're thinking of. This proposal isn't related, as it's for StopTimeUpdate.ScheduleRelationship, not TripDescriptor.ScheduleRelationship, and isn't related to replacing anything.

from transit.

paulswartz avatar paulswartz commented on May 2, 2024

If the TripDescriptor.ScheduleRelationship is already UNSCHEDULED (meaning that the trip is running with exact_times=0), can't clients infer that the StopTimeUpdate.ScheduleRelationship is also unscheduled? An ADDED TripDescription.ScheduleRelationship doesn't also have an equivalent value in the StopTimeUpdate.ScheduleRelationship, for example.

from transit.

barbeau avatar barbeau commented on May 2, 2024

@paulswartz We could write rules into the GTFS-rt spec language instructing consumers to infer this, but the data itself would still be conflicting (some protobuf consumer bindings automatically populate the data with the default values, so to software it looks like all the StopTimeUpdate.ScheduleRelationships are all populated as SCHEDULED, even if left empty in the feed). For data quality, IMHO it's better to provide an explicit enum to make it all match up.

As regards to ADDED, IMHO ADDED is currently too under-specified as-is and barely useable - we plan to clean this up in Service Changes. So I wouldn't use that as an example to follow here.

from transit.

Related Issues (20)

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.