Hi Vincenzo,

Am 13.02.2014 16:10, schrieb vincenzo perrone:
> I suppose that the net file given as input to OD2TRIPS should be the one 
> including the districts definitions,
> so OD2TRIPS could generate the trips considering all the edges
belonging to the network, right?

The file needs to contain only the district definitions either embedded
into a network or separate. It usually looks like this:
<tazs>
    <taz id="1">
        <tazSource id="edge1"/>
        <tazSink id="edge2"/>
    </taz>
    <taz id="2">
        <tazSource id="edge3"/>
        <tazSink id="edge4"/>
    </taz>
</tazs>

So you define sources and sinks for all your districts.
There is also <SUMO_HOME>/tools/district/edgesinDistricts.py which takes
shapes of districts and converts them to edge lists.

Best regards,
Michael


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to