Dear Friends,
       I am using SUMO version 0.24. I want to use randomTrips.py to
generate random trips customized with weighted via edges file. This is my
prefix weight file,

<edgedata>
    <interval begin="0" end="3000">
        <edge id="48796599" value="9.77"/>
        <edge id="51193421#4" value="32.92"/>
        <edge id="24791500#5" value="21.62"/>
        <edge id="13758914#1" value="32.78"/>
        <edge id="194099559" value="33.95"/>
        <edge id="51193421#3" value="15.16"/>
    </interval>
</edgedata>

and generated  trips and routes files using,

python randomTrips.py -n Colombo_Small.net.xml --trip
attributes="type=\"myType\"" --additional-file type.add.xml --vclass
passenger -e 5 -l --weights-prefix raju.via.xml

python randomTrips.py -n Colombo_Small.net.xml
--trip-attributes="type=\"myType\"" --additional-file type.add.xml --vclass
passenger -r raju.rou.xml -e 5 -l --weights-prefix raju.via.xml

But generated route files does not have the edges specified through
"prefix" file. Am I missing anything? Please help.

Thanks,
Titus
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to