Git Product home page Git Product logo

Comments (9)

antrim avatar antrim commented on May 2, 2024

I think that we should add fare_attributes.agency_id to add to the spec. Trillium currently supports this in order to specify fares in multi-agency feeds (e.g. https://transitfeeds.com/p/arcata-mad-river-transit-system/148/latest/file/fare_attributes.txt). I suspect this is broadly used, but am not sure.

from transit.

skinkie avatar skinkie commented on May 2, 2024

@antrim have you seen the discrepancy in my comment?

from transit.

antrim avatar antrim commented on May 2, 2024

@skinkie : I didn't follow everything, particularly the part about "allow multiple agencies sharing the same route_id". I noticed that you're discussing both fare_rules.txt and and fare_attributes.txt but didn't parse everything out. Instead, I thought it was simpler to just share Trillium's practice. If there's more to explore or a correction/clarification to make, please share!

from transit.

skinkie avatar skinkie commented on May 2, 2024

In order to merge a feed the tripids of feed A and B must not have any value in common. The same would go for route_id. Hence you can't have a route_id and trip_id combination that is less unique than a agency_id, route_id and trip_id. I wonder if it therefore would make sense to have an agency_id, if agency_id is in fact an attribute and not a compound key.

from transit.

antrim avatar antrim commented on May 2, 2024

Yup! I was thrown off by this:

Google Transit seems to have received a private extension to have an agency_id added in fare_attributes.txt

fare_attributes.agency_id is already part of the spec.

I'd favor leaving fare_rules.txt as it is. Could we close this issue?

from transit.

github-actions avatar github-actions commented on May 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from transit.

skinkie avatar skinkie commented on May 2, 2024

Want to have a discussion on this topic...

from transit.

github-actions avatar github-actions commented on May 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from transit.

github-actions avatar github-actions commented on May 2, 2024

This issue has been closed due to inactivity. Issues can always be reopened after they have been closed.

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.