Hello
Thanks a  lot for these informations which I studied at once.
I tried the 'via' parameter (which appears the more convenient method) with a 
list of edges to be reached in row by a bus, but
after a few correctly reached edges, a quite unecessary loop is done by the 
vehicle between two edges obviousy near from one another, before to get on for 
the trip.
I tried unsuccessfully to add intermediate edges.
Anyway I'll try with quite other conditions, network and bus line.
Michel
----- Mail original -----
De: "Jakob Erdmann" <[email protected]>
À: "Michael Behrisch" <[email protected]>
Cc: "Michel Souweine" <[email protected]>, "sumo-user" 
<[email protected]>
Envoyé: Lundi 1 Décembre 2014 12:26:42
Objet: Re: [sumo-user] how to set bus lines


since 0.21.0 you can also use the 'via' attribute instead of using --repair. 
see http://sumo.dlr.de/wiki/Demand/Shortest_or_Optimal_Path_Routing 



2014-12-01 9:41 GMT+01:00 Michael Behrisch < [email protected] > : 


Hi Michel, 

Am 30.11.2014 um 09:55 schrieb [email protected] : 
> On a network coming from OpenStreetMap and "netconverted" I put busses lines 
> reproducing those of my city 
> These lines aren't of course taking the shortest way between departure and 
> arrival points. So, I edited manually several lanes adding a "disallaw="bus" 
> patch to force busses to take the correct way and not the shortest one. 
> So doing there is a drawback because all these modifications are swept away 
> if I download the network again from OpenStreetMap in order to get a newer 
> version of the map 
> I would like to know if there is a more convenient way to fix way of busses, 
> just like we do with our GPS, putting intermediate points for a trip. 
> Using bus stop would be ideal as these points are already present in 
> additional file 

The way we currently do it is to define the vehicle with a partial route 
and the stops and then put it into duarouter with the --repair option so 
the input looks like this: 
<vehicle id="bus1"> 
<route edges="start_edge edge_of_stop1 edge_of_stop2 ..."> 
<stop busStop="stop1" duration="10"/> 
... 
</route> 
</vehicle> 

The drawbacks of this method are: 
1. you need to know the id and the edge of every stop 
2. It may work only with individual vehicles not with flows (it would be 
nice if you could recheck that) 

but in essence it does what you requested. 

Best regards, 
Michael 




------------------------------------------------------------------------------ 
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server 
from Actuate! Instantly Supercharge Your Business Reports and Dashboards 
with Interactivity, Sharing, Native Excel Exports, App Integration & more 
Get technology previously reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk 
_______________________________________________ 
sumo-user mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/sumo-user 


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to