-
Notifications
You must be signed in to change notification settings - Fork 179
faq 282656769
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)
javaby 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.
by Obiora Nnene on 2018-05-26 10:47:00
Thank you Dominik
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.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq