Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Extracting bus stops from a set of edges or path

- get the list of busStops in the scenario (by parsing the xml or calling traci.busstop.getIDList)
- retrieve the lane for each busStop (by parsing the xml / traci.busstop.getLaneLaneID)
- infer the edge of the busStop (string manipulation / traci.lane.getEdgeID)
- built a lookup table from edge to busStop
- process the edges of the route

Am Mi., 10. Juni 2020 um 07:13 Uhr schrieb Tripplanner Mumbai <tripplanner.dr@xxxxxxxxx>:
Hello,
I have a path (route) which is defined as a sequence of edges. For example, a set of edges is - edges="133 31 115 110 185 92 90 m91 88 187 190 77[0] 53[1][0] 53[1][1][0] 77[1][0] 77[1][1]". Now, how can I derive the set of bus stops corresponding to this path. I mean all the bus stops which are on this path, i.e., linked to any of the edges.
Assume that the scenario exists and working correctly.
thanks and regards,
Dillip Rout 
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top