GithubHelp home page GithubHelp logo

Update route error about navitia HOT 5 OPEN

tcollard avatar tcollard commented on June 23, 2024
Update route error

from navitia.

Comments (5)

pbougue avatar pbougue commented on June 23, 2024 1

Hello,
AFAIK, there is no plan on guaranteeing ID stability from one dataset to the other.
ID stability is a quite complicated problem, transitland tried to address that if I remember correctly, but not Navitia.
There is a little word in doc on that (see Lifetime of id: https://doc.navitia.io/#objects-order)

So as for any Public-Transport object in Navitia, ID is not stable over datasets (although data producers are encouraged to make stable choices, like in GTFS specifications).
If one really wants to offer stability of bookmarks, I would suggest keeping not only the ID but other information about the object (like name, position for stop) and then dig into autocompletion services or /places_nearby to try to recover if ID changes, but this would still not be a silver bullet.
But to my knowledge there is no plan to offer stability on IDs when data changes in navitia, ever.

from navitia.

kinnou02 avatar kinnou02 commented on June 23, 2024

Hi,
id of objects can change if the data provider change the id in their database, there is currently no process in place to build stable id on navitia.io.
also, data integration isn't handled by navitia itself.

from the id you are using it looks like your request is on fr-idf: all ids have been updated as we did change the source of data for this coverage since https://api.navitia.io/v1/coverage/fr-idf/ is used to provide the official "openservice" of Ile de France Mobilité
This change allows us to provide disruptions and later realtime data.

from navitia.

clemishow avatar clemishow commented on June 23, 2024

Is there any way to save a route? @kinnou02

from navitia.

pbougue avatar pbougue commented on June 23, 2024

Unfortunately, I see no guaranteed way to save a PublicTransport object.

But those are highly dependent on data changes, it's only fallback that could help, but not always.

from navitia.

clemishow avatar clemishow commented on June 23, 2024

Any news about this?

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.