motis-project / motis

Intermodal Mobility Information System

Home Page:https://motis-project.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarify setup script for loading multiple GTFS / running just a transit server

laem opened this issue · comments

commented

Following the issue about the comparison to OpenTripPlanner #423 , in order to keep it focused.

Loading the whole GTFS agregate for the Bretagne region + the regional train GTFS seems to fail because of GTFS stop errors. 3 examples below :

nigiri: could not find avv_BIBUS:ST:AUTO$372029409, BIBUS:ST:AUTO$372029409, 0, tags: 0=avv_, 1=avv_
nigiri: could not find avv_MAT:ST:AUTO$509666393, MAT:ST:AUTO$509666393, 0, tags: 0=avv_, 1=avv_
nigiri: could not find avv_MAT:ST:AUTO$509666393, MAT:ST:AUTO$509666393, 0, tags: 0=avv_, 1=avv_
[erro][2024-01-05T16:05:14Z+0000][dispatcher.cc:128] error executing /nigiri: ankerl::unordered_dense::map::at(): key not found

Edit :

I was confused by the schedule-avv key in paths=schedule-avv:FILE. I thought it was some kind of generic key to label an imported file as GTFS. Hence the collision.

I can't PR the Wiki, would gladly help document this, it's not that intuitive.

This worked for me.

[import]
paths=schedule-bretagne:input/bretagne.gtfs.zip
paths=schedule-ter:input/export-ter-gtfs-last.zip
paths=schedule-intercites:input/export-intercites-gtfs-last.zip
paths=schedule-tgv:input/export_gtfs_voyages.zip
paths=osm:input/bretagne.osm.pbf

This is the result for crossing the whole region from Rennes to Brest. Left is the official SNCF booking website.

image

And this for a trip inside the region's capital.

image

Here's a third comparison with the first metro line, the A. It is not proposed by Motis.

image

Thanks for your help !

Looks great! I'll move the wiki files to the repository. Then PRs to improve the documentation will work.