Dear Jakob / Pavlos / Others,
As Jakob suggested I downloaded the nightly built version and
using the randomTrips.py I tried to generate the route specifying vehicle
class type.
So I executed like this,
F:\2014_UCSC_Research\MAP_INFO>
F:\2014_UCSC_Research\MAP_INFO>
F:\2014_UCSC_Research\MAP_INFO>
F:\2014_UCSC_Research\MAP_INFO>python
F:\2014_UCSC_Research\sumo-src-svn.zip\sum
o-svn\tools\trip\randomTrips.py -n GreaterColombo.net.xml
--trip-parameters="typ
e=\"myType\"" --additional-file type.add.xml --vclass passenger -e 15000 -l
C:\Python27\python.exe: can't find '__main__' module in
'F:\\2014_UCSC_Research\
\sumo-src-svn.zip\\sumo-svn\\tools\\trip\\randomTrips.py'
F:\2014_UCSC_Research\MAP_INFO>
F:\2014_UCSC_Research\MAP_INFO>
F:\2014_UCSC_Research\MAP_INFO>
F:\2014_UCSC_Research\MAP_INFO>
But python complaints that "can't find '__main__' module in '
randomTrips.py"
How we can correct this?
Thanks,
Rakkesh
On Mon, May 26, 2014 at 7:21 PM, Titus Rakkesh <[email protected]>wrote:
> Thanks Jakob, Pavlos and others.
>
> I will check and reply.
>
> Thanks,
> Titus
>
>
>
> On Mon, May 26, 2014 at 3:48 PM, Jakob Erdmann <[email protected]
> > wrote:
>
>> Hello,
>> in the upcoming release 0.21.0, randomTrips.py can handle vehicle class
>> restrictions (which prevents cars on rails). You can already use this
>> functionality by downloading the nightly build:
>> http://sumo-sim.org/wiki/Downloads#Nightly_Snapshots
>> for an explanation how to set the vehicle classes, see:
>>
>> http://sumo-sim.org/wiki/Tools/Trip#generating_vehicles_with_additional_parameters
>> regards,
>> Jakob
>>
>>
>> 2014-05-26 10:52 GMT+02:00 Titus Rakkesh <[email protected]>:
>>
>> Thanks Pavlos for your reply.
>>>
>>> Anyway as per my requirement, I want the railway lines to be shown in my
>>> simulation(So converting from OpenStreetMap to SUMO is OK). But here the
>>> problem is, I am randomly generating traffic using "random" python script
>>> in SUMO distribution. In that step, I need to stop cars entering into
>>> railway lines. Because what actually happens here is these cars just
>>> enter
>>> rail way lines and there is big congestion forms and many are waiting in
>>> railway lines.
>>>
>>> Thanks,
>>> Rakkesh
>>>
>>>
>>> On Mon, May 26, 2014 at 1:08 PM, Pavlos Basaras <[email protected]>
>>> wrote:
>>>
>>> > Hello,
>>> >
>>> > i don't know if threre is an option command when using netconvert maybe
>>> > you should check:
>>> > http://sumo-sim.org/userdoc/Networks/Import/OpenStreetMap.html or more
>>> > info on this.
>>> > But what you can do is to check the .net file you created from the
>>> > openstreetmap.org, get from sumo the id of the rail segment you want
>>> to
>>> > stop vehicles from entering and delete the corresponding connections,
>>> then
>>> > vehicles wll not be able to use those segments.
>>> >
>>> > best,
>>> > Pavlos
>>> >
>>> >
>>> > 2014-05-26 10:24 GMT+03:00 Titus Rakkesh <[email protected]>:
>>> >
>>> >> Dear All,
>>> >> Please assist me.
>>> >> Thanks,
>>> >> Rakkesh
>>> >> On 23 May 2014 13:35, "Titus Rakkesh" <[email protected]>
>>> wrote:
>>> >>
>>> >> > Dear All,
>>> >> > Greetings!!!. I have extracted a portion of data from Open
>>> Street
>>> >> Map
>>> >> > and converted to SUMO network and randomly generated the traffic
>>> and the
>>> >> > simulation is running fine. But the issue is the cars also entering
>>> the
>>> >> > railway lines. How we can stop this?
>>> >> >
>>> >> > Thanks,
>>> >> > Titus
>>> >> >
>>> >>
>>> >>
>>> ------------------------------------------------------------------------------
>>> >> The best possible search technologies are now affordable for all
>>> >> companies.
>>> >> Download your FREE open source Enterprise Search Engine today!
>>> >> Our experts will assist you in its installation for $59/mo, no
>>> commitment.
>>> >> Test it for FREE on our Cloud platform anytime!
>>> >>
>>> >>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
>>> >> _______________________________________________
>>> >> sumo-user mailing list
>>> >> [email protected]
>>> >> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>> >>
>>> >
>>> >
>>>
>>> ------------------------------------------------------------------------------
>>> The best possible search technologies are now affordable for all
>>> companies.
>>> Download your FREE open source Enterprise Search Engine today!
>>> Our experts will assist you in its installation for $59/mo, no
>>> commitment.
>>> Test it for FREE on our Cloud platform anytime!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>
>>
>>
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user