Skip to content

faq 164986907

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

Shapefile to MATSim network.

by Jinkai Zhou on 2018-02-02 20:14:43


Is there an updated version that can convert shapefile into MATSim network? My shapefiles are a node and a link shapefiles. Please let me know. Thanks


Comments: 1


Re: Shapefile to MATSim network.

by Johan W. Joubert on 2018-02-08 06:32:22

My view is that it will be near-impossible to have a generic shapefile-to-network class, just because every shapefile can be and represent something different. What you can do is to read in the shapefile using the MATSim class org.matsim.core.utils.gis.ShapeFileReader and then use the geometries (points and lines) and convert them. But you will have to do the conversion yourself as it simply depends on too many things. Good luck! Hope you make progress.

Clone this wiki locally