Hi Mima,

I have a question: For your work/project your need to define an own new
SUMO Scenario and you use TAPASCologne as reference, or you need to
simulate traffic over TAPASCologne scenario?

Regards

2015-11-10 22:21 GMT+01:00 mima Line <[email protected]>:

> Hello Mr Pablo
>
> thank you very much for your detailled reply, I really appreciate
>
> I have understood now the difference between edge and Lane, thanks you
> once again
>
> since I am using a SUMO trace in
> http://sumo.dlr.de/wiki/Data/Scenarios/TAPASCologne  I don't think that I
> can define my own edge definitions since it is a realistic scenario, and I
> thinks I have to look in the map and try to get the equivalent edge ID to
> know what an edge is?
>
> thanks you for you time
>
> Best regards
>
>
> 2015-11-10 13:30 GMT+01:00 Pablo Álvarez López <
> [email protected]>:
>
>> Hi Mima,
>>
>> In your case, if your road only have an lane, in the file
>> *yourSimulation*.edg.xml you need to define something like this:
>>
>> <edges>
>>      <edge id="*yourEdgeId*" from="*idOfNodeOrigin*" to="
>> *idOfNodeDestiny*"/>
>> </edges>
>>
>> In Sumo you can only define the Id of the edges, not the Id's of lanes.
>> The id's of lanes are automatically defined using index of edge as
>> reference. In the example of above, SUMO will create a edge with id
>> *yourEdgeId *and automatically one lane with id = *yourEdgeId_0*, being
>> *0* the index of lane in this edge.
>>
>> If you want to create a road with three lanes, you should write
>>  something like this:
>>
>> <edges>
>>      <edge id="*yourEdgeId*" from="*idOfNodeOrigin*" to="
>> *idOfNodeDestiny*"/
>>           <lane index="*0*"/>
>>           <lane index="*1*"/>
>>           <lane index="*2*"/>
>>      </edge>
>> </edges>
>>
>> With this structure, sumo will create an edge with id = *yourEdgeId*,
>> and three lanes with id = *yourEdgeId_0, **yourEdgeId_1 *and
>> *yourEdgeId_2.*
>>
>> I think that this last example can be used as answer for your question:
>> Three lanes in the same way can be considered as an edge.
>>
>> About the begin/end of a lane: A lane has always the same begin and end
>> of their edge parent. Using the last example, begin in position (0,0) and
>> end in position (100,100) of a road(edge) with three lanes can be defined
>> as follows:
>>
>> <nodes>
>>      <node id="*begin*" x="0" y="0"/>
>>      <node id="*end*" x="100" y="100"/>
>> </nodes>
>>
>> <edges>
>>      <edge id="*roadNumber1*" from="*begin*" to="*end*"/
>>           <lane index="*0*"/>
>>           <lane index="*1*"/>
>>           <lane index="*2*"/>
>>      </edge>
>> </edges>
>>
>>
>> If you have more question, please ask us :-)
>>
>>
>> Regards
>>
>> 2015-11-09 20:25 GMT+01:00 mima Line <[email protected]>:
>>
>>> Thank you Mr Pablo, I start understanding now
>>>
>>> I will be appreciate if you can help me understand more the diference
>>> between this two concept since I am using TAPAS-cologne trace from
>>> implemnted in SUMO
>>>
>>> I have edges ID and Lane ID but I am not sure if an    edge= road
>>> segment, I have remark also that each edge contains just one lane in the
>>> trace-->by defining lane ID I can define the edge ID
>>>
>>>
>>> *in the picture below there is 6 lane 3 in one direction and 3 in the
>>> opposite direction, my question in can I consider the 3 lane in the same
>>> direction as one edge?*
>>>
>>> and what is the lane end? is it a junction for exemple?
>>>
>>>
>>> Thanks for reading my message
>>>
>>> Thanks once again
>>>
>>> Best regards
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> 2015-11-09 16:49 GMT+01:00 Pablo Álvarez López <
>>> [email protected]>:
>>>
>>>> Hi Mima,
>>>>
>>>> you can see an edge like the name of a street or a motorway, and a Lane
>>>> like every rail over you drive a car. If the difference between this two
>>>> concept isn't yet clear for you, I can send a picture with a schema.
>>>>
>>>> In your case, if you want to make a road between two intersection
>>>> (Nodes) A and B, you need to define an edge between A und B always. If your
>>>> road has one rail/lanes, you need to define one lane and one edge. If your
>>>> road has two rail/lanes, you need to define two lanes, but only one edge.
>>>> if your road has three rail/lanes, you need to define three lanes, but only
>>>> one edge, and so on...
>>>>
>>>> Regards
>>>>
>>>> 2015-11-09 14:52 GMT+01:00 mima Line <[email protected]>:
>>>>
>>>>> Hello sumo users
>>>>>
>>>>> I have a small and trivial question
>>>>>
>>>>> what is the difference between an edge and a lane
>>>>>
>>>>> I want to know a road segment:A road segment Si is represented by a
>>>>> unidirectional edge between two consecutive junctions.
>>>>>
>>>>> here is the road segement is an edge or a lane?
>>>>>
>>>>> I have used a sumo trace and I used netsatdump command I have not seen
>>>>> a
>>>>> difference between lane and edge
>>>>>
>>>>> thanks in advance
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Presto, an open source distributed SQL query engine for big data,
>>>>> initially
>>>>> developed by Facebook, enables you to easily query your data on Hadoop
>>>>> in a
>>>>> more interactive manner. Teradata is also now providing full enterprise
>>>>> support for Presto. Download a free open source copy now.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Pablo Álvarez López
>>>> Informatik Student.
>>>>
>>>
>>>
>>
>>
>> --
>> Pablo Álvarez López
>> Informatik Student.
>>
>
>


-- 
Pablo Álvarez López
Informatik Student.
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to