Comments (7)
Mmh afaik a route can have multiple termini, the Journey_pattern is the object with the fixed sequence of stops
from navitia.
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.
+1
See also https://groups.google.com/forum/#!topic/navitia/zoRo_7scPmw
from navitia.
Is there an ETA for this issue to be solved?
from navitia.
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.
Great, thanks :-)
from navitia.
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)
- 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?
- Missing submodules HOT 2
- Deleted Docker images
- Cannot get submodules needed for compilation
- Link to OpenDataSoft broken HOT 1
- GET Api /coords returns a 403 HOT 2
- [SNCF] Issues with /v1/coverage/sncf/journeys HOT 1
- Contact Navtia team for collaboration
- Add direction in path item as specified in https://doc.navitia.io/#path-item
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.