eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.36k stars 1.37k forks source link

How to merge two opendrive road networks and convert them into one sumo network? #14961

Closed JackYang2022 closed 1 month ago

JackYang2022 commented 1 month ago

Hello everyone, I have two OpenDrive networks, and some of them overlap. How can I merge them into one Sumo road network? I tried to convert them separately to .net.xml files and then merge them using the "netconvert -- sumo net file road1.net.xml, road2.net.xml." command, but it prompted me with duplicate edges and some overlapping nodes that failed to be processed. How should I solve this error or use what method to merge the road network?Thank you!

SUMO-version:1.8.0

operating system:Win10

namdre commented 1 month ago
  1. get a newer version of netconvert
  2. set options for dealing with duplicate edges and nodes: https://sumo.dlr.de/docs/netconvert.html#merging_networks