Comments (5)
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.
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.
Is there any way to save a route? @kinnou02
from navitia.
Unfortunately, I see no guaranteed way to save a PublicTransport object.
- You may use autocomplete to search it if it disappears, for route something like: https://api.navitia.io/v1/coverage/fr-idf/pt_objects?type%5B%5D=route&q=Pershing%20-%20GARE%20DE%20VERSAILLES%20CHANTIERS&
- Another thing that wouldn't work for all is to use codes and hope some are stable enough.
For example this request onosm_route_id
https://api.navitia.io/v1/coverage/fr-idf/routes?filter=route.has_code(%22osm_route_id%22%2C%22relation%3A9173338%22)
But those are highly dependent on data changes, it's only fallback that could help, but not always.
from navitia.
Any news about this?
from navitia.
Related Issues (20)
- Can't look for adresses which are not single integer number HOT 2
- Migration todo: proj4 macro is deprecated HOT 5
- Missing route in es_gtfs.zip HOT 1
- Save a route? HOT 1
- Crash during navitia::type::Data::clone_from when applying disruption HOT 13
- Wrong journeys due to very inadequate walking time HOT 2
- I can't figure out how to get train ticket price. HOT 1
- Taxi support HOT 2
- N- Voie HOT 1
- Data handling HOT 3
- Missing data in NTFS files ? HOT 1
- GTFS - Slovenia HOT 1
- Random spots using Ile-de-France Mobilités isochrones HOT 1
- Coverage shape : how is it computed ? HOT 8
- How does Navitia compare to alternatives? HOT 2
- Cannot find a region with stop_area:IDFM:74162 and stop_area:STE:OCE87611004 in the same time HOT 1
- Reporting a vulnerability HOT 1
- Pagination on isochrone/journeys endpoint not working as expected
- How to contribute?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navitia.