Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taxi support #3208

Open
thegreathir opened this issue Apr 23, 2020 · 2 comments
Open

Taxi support #3208

thegreathir opened this issue Apr 23, 2020 · 2 comments

Comments

@thegreathir
Copy link

As I recognized from your docs at this point navitia can not read the Taxi routes from gtfs. Actually the Taxi service that is supported by navitia is just like car with some additional delay.
At first I want to know is it true? Can I feed navitia with Taxi lines and get multi modal plans that contains Taxi transfers? The challenge is that Taxi does not have stops (start and last only) and passenger may alight everywhere during the trip. This feature is supported by gtfs-flex extension described here
And next do you have plan to support this kind of journeys?

@prhod
Copy link
Contributor

prhod commented May 18, 2020

Hello,
First let me apologize for the delay 🙏
I can't answer for the Taxi as a Car in navitia, but I can tell you it's possible to feed navitia with a "taxi line" using the physical_mode "Taxi" :
https://github.com/CanalTP/ntfs-specification/blob/master/ntfs_fr.md#physical_modestxt-requis
(sorry the doc is still in french)
First, there is no support for GTFS-Flex yet (and no short terms plan about that)
If you want to specify an area and not specific stops, it's possible to specify a geographic zone for an address to address travel using OnDemandTransport feature. There is also a combination of regular stops and geographic zones as described here:
https://github.com/CanalTP/ntfs-specification/blob/master/ntfs_fr.md#ligne-mixte

I'm not 100% sure, but if you make an address to address travel like this, no transfers are available. You may need to create a (very) complex taxi route to have high quality responses.

Can you tell us more precisely your need about this kind of feature ?

@xlqian
Copy link
Member

xlqian commented May 19, 2020

Hi,

As you have already noticed, the taxi monde in Navitia is just as simple as a car mode plus some delay. This is true when the street network calculator is Kraken(our homemade one), however, when it comes to Asgard(https://github.com/CanalTP/asgard), it will privilege lanes that are reserved for taxis. So the route returned by Asgard will quite different from the one returned from Kraken.

That's all that taxi does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants