-
Notifications
You must be signed in to change notification settings - Fork 182
faq 164986907
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
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.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq