GithubHelp home page GithubHelp logo

Comments (7)

koch-t avatar koch-t commented on May 25, 2024

Mmh afaik a route can have multiple termini, the Journey_pattern is the object with the fixed sequence of stops

from navitia.

aelkhour avatar aelkhour commented on May 25, 2024

I see your point, I did not realize that the concept of journey pattern existed in navitia (afaik it is not exposed in the JSON api).

A route denotes a collection of journey patterns matching the same direction. It would then make sense to add this direction information in the route object.
In the above example, the direction would be either "Pont Neuf" or "Porte de Pantin" depending on the route of the "Pont Neuf - Porte de Pantin" line.

Does this request make more sense?

from navitia.

jlerpscher avatar jlerpscher commented on May 25, 2024

+1
See also https://groups.google.com/forum/#!topic/navitia/zoRo_7scPmw

from navitia.

aelkhour avatar aelkhour commented on May 25, 2024

Is there an ETA for this issue to be solved?

from navitia.

thiphariel avatar thiphariel commented on May 25, 2024

They are still in 'preprod'. The 1.1 release on navitia.io is for tomorrow probably :) (The told me that on IRC)
PS : Thanks for this PR, sounds really good ;)

from navitia.

aelkhour avatar aelkhour commented on May 25, 2024

Great, thanks :-)

from navitia.

aelkhour avatar aelkhour commented on May 25, 2024

Solved. Closing.

route: {
    direction: {
        embedded_type: "stop_point",
        stop_point: {
            comment: "1 AV DE LA PORTE DE PANTIN - 93055",
            name: "PORTE DE PANTIN",
            coord: {
                lat: "48.890101",
                lon: "2.396431"
            },
            equipments: [ ],
            id: "stop_point:RTP:SP:3926432"
        },
        quality: 0,
        id: "stop_point:RTP:SP:3926432",
        name: "PORTE DE PANTIN"
    },
    name: "PONT NEUF - PORTE DE PANTIN",
    is_frequence: "False",
    line: {
        comment: "",
        code: "75",
        name: "Pont Neuf - Porte de Pantin",
        color: "ffcd02",
        id: "line:RTP:1154113"
    },
    id: "route:RTP:1154113"
}

from navitia.

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.