Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] TAZ for pedestrian routing

Hi sumo users,

I've recently come across the problem of using duarouter on pedestrian trips.
In my trip file, if I use "from=xxx to=xxx" (xxx represents edge id) for the src and sink definition, the duarouter will successfully generate the .rou.xml file. 

    <vType id="ped_pedestrian" vClass="pedestrian"/>
    <person id="ped0" depart="0.00" type="ped_pedestrian">
        <walk from="152169580" to="721202194"/> 
    </person>

But if I use fromTaz/toTaz format (the taz has been defined in additional file, and one taz contains multiple valid edges that allow pedestrian), the duarouter will run into "Segmentation Fault"

    <vType id="ped_pedestrian" vClass="pedestrian"/>
    <person id="ped0" depart="0.00" type="ped_pedestrian">
        <personTrip fromTaz="sdh" toTaz="dbt"/>
    </person>

The duarouter works fine with vehicle trips on Taz definition. Does anyone know a way to applying taz-based routing to pedestrians?

Thanks,
Jian

Back to the top