-
Notifications
You must be signed in to change notification settings - Fork 179
faq 162725903
by Erwan Bocher on 2018-02-01 15:50:46
Dear MATSim community,
We plan to use MATSim in order to generate traffic data based on OSM data. The traffic data will be used to populate the NoiseModelling (http://noise-planet.org/noisemodelling.html) tool that we develop. NoiseModelling is coupled with the OrbisGIS open source software (http://orbisgis.org/) and permits to compute noise map.
OrbisGIS architecture is based on OSGI bundle. So my first question is : Is MATSim compliant with OSGI bundle ?
The idea is to run MATSim from the OrbisGIS viewer and run it with a set of groovy scripts. We want to take profit of the OrbisGIS (H2GIS) capabilities to prepare the data, run MATSim, run NoiseModelling and then create thematic maps and spatial analysis.
Best regards
Erwan Bocher
by Marcel Rieser on 2018-02-01 20:37:42
Short answer to your first question: No. MATSim does not contain an OSGI manifest and can thus not act as an OSGI bundle.
You could try to start MATSim from your script/plugin by executing it as an external process, i.e. start an external java-process and pass it MATSim's jar-file and main-class as arguments. This requires that all necessary data is first written to disk, and results are afterwards also loaded from disk again.
I have no real experience with OSGI. While we probably could add an OSGI manifest and some wrapper class to MATSim, this would not yet take care of MATSim's dependencies. I think they would need to be OSGI bundles as well, which is out of our control...
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq