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.49k stars 1.41k forks source link

Netconvert error when importing and editing OSM with ptlines #7755

Open ArmelliniMG opened 3 years ago

ArmelliniMG commented 3 years ago

The "join-tram-dist" netconvert option does not work in all cases, so some manual adjustments are necessary. The problem arises when merging tram-edges with street-edges (by deleting the tram edge and adding the "tram" type to the vehicles allowed in the street edge), because netconvert has then problems importing the pt-lines. Would there be a better way to deal with edges that cannot be merged with the "join-tram-dist" option without breaking the network edition in netconvert?

A test case is attached (same test as the "join_tram" test but with a manual edge edit). osm_ptline_error.zip

namdre commented 3 years ago

solution 1) improve join-tram-dist so it catches more cases solution 2) add a new option or file input to declare tram and road edges to be joined so that ptlines can be remapped correspondingly

ArmelliniMG commented 3 years ago

Thanks Jakob. If I may, I would prefer solution 2 first, because sometimes the edges are quite far away from each other, so some manual editing will often be necessary.