Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-dev] Appropriate way of creating junctions in a network importer

Hi SUMO developers,

I have run into some problems with my netconvert extension. Following the instructions at http://sumo.dlr.de/wiki/Developer/How_To/Net_Importer , I have created the NBNode and NBEdge instances from my input format. Afterwards, I'd like to add connections to the junctions. It seems to me they already get created automatically together with the edges.

My question is: How can I add those connections I want (providing a custom shape, too) and leave out the others? And how do these steps like "INIT_REJECT_CONNECTIONS" interfere with the import process?

 Firstly, I used NBEdge::addEdge2EdgeConnection(0) to remove connections, but somehow netconvert didn't like the dummy Connection struct created in this method. What is the advised way here?

Regards
Mirko


Back to the top