Skip to content

faq 282656769

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

gtfs data conversion

by Obiora Nnene on 2018-05-26 10:13:09


How can I convert a gtfs feed for a bus network to MATSim network, schedule and vehicle data. I was able to use the org.matsim.contrib matsim-gtfs 0.8.0 dependency previously but that seems no to work anymore as I get an error like this:

Exception in thread "main" java.lang.NoSuchFieldError: services at org.matsim.contrib.gtfs.GtfsConverter.convert(GtfsConverter.java:51) at org.matsim.onnene.gtfs.ConvertGtfsToMatsimTransit.parseGtfs(ConvertGtfsToMatsimTransit.java:74) at org.matsim.onnene.gtfs.ConvertGtfsToMatsimTransit.run(ConvertGtfsToMatsimTransit.java:48) at org.matsim.onnene.gtfs.ConvertGtfsToMatsimTransit.main(ConvertGtfsToMatsimTransit.java:37)

java

Comments: 3


Re: gtfs data conversion

by Dominik Ziemke on 2018-05-26 10:23:01

Please have a look here: GTFS2MATSim

I think this is the newest version of the code that you are mentioning in your code.

I have been using it lately and it worked nicely.


Re: gtfs data conversion

by Obiora Nnene on 2018-05-26 10:47:00

Thank you Dominik


Re: gtfs data conversion

by Joschka Bischoff on 2018-05-29 06:26:17

I've also updated the usage description of the Converter a little bit. Hope that helps.

Clone this wiki locally