-
Notifications
You must be signed in to change notification settings - Fork 182
faq 109448386
by Florian Zenoni on 2017-05-16 08:38:08
Dear experts,
I would like to know if in your experience it is possible to read back in QGIS the network.xml file after it has been converted (and cleaned) from the .osm format using MATSim's NetworkEditor extension.
Also: will executing RunPNetworkGenerator class (as suggested in MATSim manual) have the same effect as running manually NetworkEditor?
In fact, I would like not only to display the cleaned network, but also to manipulate it as a vector layer, to make computations such as nearest neighbor join, etc. As long as the network is in QGIS, I can take it from there.
Thanks a lot,
Florian
by Florian Zenoni on 2017-05-22 13:12:33
For future reference, I found a - rather easy - solution.
Once the network has been imported in .osm and cleaned, you can export it not only in XML but also as a Shapefile, which carries the same attributes as the XML. You can add the Shapefile as a vector layer in QGIS to do your computations.
As long as you don't modify the network, there is no need to convert the Shapefile back to XML (the one given by NetworkEditor is already fine), which would indeed be a bit of a hassle.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq