Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Duarouter and parkingAreas

A work-around is to disable remove-loops.
regards,
Jakob

2018-02-13 14:13 GMT+01:00 Lara CODECA <lara.codeca@xxxxxxxxxx>:
Hello again,

the problem was different from what I explained.

My randomly generated o/d trip:

<trip id="passenger_3_443" depart="20925" departLane="best"
      from="-456" to="-830#1" type="passenger">
        <stop parkingArea="152613" duration="43200"/>
</trip>

where

<parkingArea id="152613" lane="-830#1_1"
        startPos="52.54" endPos="57.54"
        roadsideCapacity="1048" friendlyPos="true"/>

After DUAROUTER:

<vehicle id="passenger_3_443" type="passenger1"
        depart="20925.00" departLane="best">
        <route edges="-456 464 -926 -1445 -1306#2 -1303#2 -1303#1
-1303#0 -1308#1 -1308#0 864#3 864#0 -476#6 -476#5 -476#4 -476#3 -476#2
-476#1 -476#0 1321#1 1431#0 1431#1 1431#2 1431#3 1431#4 1431#5 1431#6
1431#7 505#1 244 502#0 502#1 502#2 502#3 502#4 358#2 358#3 358#4 -357
-103#0 -528#2 -528#1 -528#0 -592#11 -592#10 -592#9 -592#8 -592#7 -592#6
-592#5 -592#4 -592#3 -592#2 -592#1 628#0 628#1 -701#5 -701#4 -701#3
-701#2 -701#1 -701#0 737#0 737#1 737#2 870#2 870#3 747 892#1 892#2
892#3 892#4 196 206#0 206#1 206#2 -202 212#1 211 -828#2 -828#1 -828#0
907 815#1 815#2 830#1"/>
        <stop parkingArea="152613" duration="43200.00"/>
</vehicle>

Obviously:
Error:  parkingArea '152613' for vehicle 'passenger_3_443'
        on lane '-830#1_1' is not downstream the current route.

I'm using
        <remove-loops value="true"/>
        <repair value="false"/>
        <repair.from value="false"/>
        <repair.to value="false"/>
as duarouter options.

Why the change in the destination?
I need duarouter to validate the sources and destination, not to change
them. Dropping the unreachable trips is way better than "fixing" them,
or all the rest of my processing breaks.

Regards,
Lara

On Tue, 2018-02-13 at 08:31 +0100, Jakob Erdmann wrote:
> Hello Lara,
> in our own tests, duarouter keeps the stops as intended. Please send
> a minimal example input where this fails.
> regards,
> Jakob
>
> 2018-02-12 21:36 GMT+01:00 Lara Codeca <lara.codeca@xxxxxxxxxx>:
> > Dear All,
> >
> > I’m generating my own trips file (origin/destination). Some of
> > these trips have a stop in a parking area. To validate the trips, I
> > use duarouter, but I’m not able to force it to keep the stop.
> >
> > Is there a way, or do I have to save the stops, and add them after
> > duarouter?
> >
> > Regards,
> > Lara
> > _______________________________________________
> > sumo-user mailing list
> > sumo-user@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
--
--
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/ id="-x-evo-selection-start-marker">


Back to the top