Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Things are sorted out after I installed the version available currently
which was updated on June 8.

On Tue, 9 Jun 2020 at 20:43, Tripplanner Mumbai 
wrote:

> Hello,
>
> I just checked the current version which is updated on June 8. I found
> that the class "busstop" is available in it. Looks like I have to uninstall
> mine (updated from May) and again reinstall the new one.
>
> thanks and regards,
> Dillip Rout
>
> On Tue, 9 Jun 2020 at 19:34, Tripplanner Mumbai 
> wrote:
>
>> Nope, I am using ubuntu, and the particular version I installed is -
>> https://sumo.dlr.de/daily/sumo-all-git.tar.gz
>> 
>> I rechecked my SUMO_HOME, it is pointing to the desired folder where all
>> the tools are available and that is configured for use.  If some issues
>> then I could have unable to find anything. Please see the attachment of
>> list of classes available, "busstop" class is missing. Other classes like
>> "lane", "edge", etc., are available.
>>
>> On Tue, 9 Jun 2020 at 19:22, Jakob Erdmann  wrote:
>>
>>> The download https://sumo.dlr.de/daily/sumo-win64-git.zip contains the
>>> file tools/traci/_busstop.py
>>> Most likely your are importing traci via reference to SUMO_HOME/tools
>>> where SUMO_HOME points to another version of sumo.
>>>
>>> Am Di., 9. Juni 2020 um 15:24 Uhr schrieb Tripplanner Mumbai <
>>> tripplanner...@gmail.com>:
>>>
 Hello,

 traci.busstop.getLaneID("busStop#35") did not work since there is no
 class in "busstop" in my installed version, you may verify it from the
 attachment which is the list of classes available in my local machine. Note
 that I am using the latest development version of SUMO (
 https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
 ).

 However, class "busstop" is available in online documentation (
 https://sumo.dlr.de/daily/pydoc/). Kindly, verify the latest
 development and let me know.

 thanks and regards,
 Dillip Rout



 On Wed, 3 Jun 2020 at 13:40, Jakob Erdmann 
 wrote:

> the relationship between lane ids and edge ids is quite trivial but
> you can also use traci.lane.getEdgeID(laneID) to get one from the other.
>
> Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai <
> tripplanner...@gmail.com>:
>
>> Hello,
>> I am using the latest development version of SUMO (
>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
>> ).
>> However, I found the documentation part (
>> https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the
>> signature of findRoute is this:
>>
>> *findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0,
>> routingMode=0)
>>
>> The same signature I got in my local machine where I have installed
>> the latest development version. Note that there is no input
>> for the lanes as you mentioned. Please clarify.
>>
>> thanks and regards,
>> Dillip Rout
>>
>>
>>
>> On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann 
>> wrote:
>>
>>> If you know the lane and position of the busStops, you can use
>>> function traci.simulation.findRoute to get the distance and traveltime
>>> between them.
>>> You can either parse lane and position from the input xml (i.e. with
>>> sumolib.xml.parse) or you can use traci.busstop.getLaneID and
>>> traci.busstop.getEndPos.
>>> The latter functions are only available in the latest development
>>> version.
>>>
>>> regards,
>>> Jakob
>>>
>>>
>>> Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
>>> tripplanner...@gmail.com>:
>>>
 Hello,
 I have a network and all its properties are defined. I am getting
 all needed output such as stop information, trip information, person
 information, etc.

 However, I would like to know how to calculate or find out the
 distance and travel time (as per definition). For example, I have a 
 transit
 line (or public transport route) as follows.
 
 
 
 

 Now, if I wanted to find out the distance and travel time from
 busStop#35 to busStop#36. TraCI code is preferable to obtain these
 requirements.

 thanks and regards,
 Dillip Rout
 ___
 sumo-user mailing list
 sumo-user@eclipse.org
 To unsubscribe from this list, visit
 https://www.eclipse.org/mailman/listinfo/sumo-user

>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Hello,

I just checked the current version which is updated on June 8. I found that
the class "busstop" is available in it. Looks like I have to uninstall mine
(updated from May) and again reinstall the new one.

thanks and regards,
Dillip Rout

On Tue, 9 Jun 2020 at 19:34, Tripplanner Mumbai 
wrote:

> Nope, I am using ubuntu, and the particular version I installed is -
> https://sumo.dlr.de/daily/sumo-all-git.tar.gz
> 
> I rechecked my SUMO_HOME, it is pointing to the desired folder where all
> the tools are available and that is configured for use.  If some issues
> then I could have unable to find anything. Please see the attachment of
> list of classes available, "busstop" class is missing. Other classes like
> "lane", "edge", etc., are available.
>
> On Tue, 9 Jun 2020 at 19:22, Jakob Erdmann  wrote:
>
>> The download https://sumo.dlr.de/daily/sumo-win64-git.zip contains the
>> file tools/traci/_busstop.py
>> Most likely your are importing traci via reference to SUMO_HOME/tools
>> where SUMO_HOME points to another version of sumo.
>>
>> Am Di., 9. Juni 2020 um 15:24 Uhr schrieb Tripplanner Mumbai <
>> tripplanner...@gmail.com>:
>>
>>> Hello,
>>>
>>> traci.busstop.getLaneID("busStop#35") did not work since there is no
>>> class in "busstop" in my installed version, you may verify it from the
>>> attachment which is the list of classes available in my local machine. Note
>>> that I am using the latest development version of SUMO (
>>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
>>> ).
>>>
>>> However, class "busstop" is available in online documentation (
>>> https://sumo.dlr.de/daily/pydoc/). Kindly, verify the latest
>>> development and let me know.
>>>
>>> thanks and regards,
>>> Dillip Rout
>>>
>>>
>>>
>>> On Wed, 3 Jun 2020 at 13:40, Jakob Erdmann 
>>> wrote:
>>>
 the relationship between lane ids and edge ids is quite trivial but you
 can also use traci.lane.getEdgeID(laneID) to get one from the other.

 Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai <
 tripplanner...@gmail.com>:

> Hello,
> I am using the latest development version of SUMO (
> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
> ).
> However, I found the documentation part (
> https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the
> signature of findRoute is this:
>
> *findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0,
> routingMode=0)
>
> The same signature I got in my local machine where I have installed
> the latest development version. Note that there is no input
> for the lanes as you mentioned. Please clarify.
>
> thanks and regards,
> Dillip Rout
>
>
>
> On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann 
> wrote:
>
>> If you know the lane and position of the busStops, you can use
>> function traci.simulation.findRoute to get the distance and traveltime
>> between them.
>> You can either parse lane and position from the input xml (i.e. with
>> sumolib.xml.parse) or you can use traci.busstop.getLaneID and
>> traci.busstop.getEndPos.
>> The latter functions are only available in the latest development
>> version.
>>
>> regards,
>> Jakob
>>
>>
>> Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
>> tripplanner...@gmail.com>:
>>
>>> Hello,
>>> I have a network and all its properties are defined. I am getting
>>> all needed output such as stop information, trip information, person
>>> information, etc.
>>>
>>> However, I would like to know how to calculate or find out the
>>> distance and travel time (as per definition). For example, I have a 
>>> transit
>>> line (or public transport route) as follows.
>>> 
>>> 
>>> 
>>> 
>>>
>>> Now, if I wanted to find out the distance and travel time from
>>> busStop#35 to busStop#36. TraCI code is preferable to obtain these
>>> requirements.
>>>
>>> thanks and regards,
>>> Dillip Rout
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
 ___
 sumo-user mailing list
 sumo-user@eclipse.org
 To unsubscribe from this 

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Nope, I am using ubuntu, and the particular version I installed is -
https://sumo.dlr.de/daily/sumo-all-git.tar.gz

I rechecked my SUMO_HOME, it is pointing to the desired folder where all
the tools are available and that is configured for use.  If some issues
then I could have unable to find anything. Please see the attachment of
list of classes available, "busstop" class is missing. Other classes like
"lane", "edge", etc., are available.

On Tue, 9 Jun 2020 at 19:22, Jakob Erdmann  wrote:

> The download https://sumo.dlr.de/daily/sumo-win64-git.zip contains the
> file tools/traci/_busstop.py
> Most likely your are importing traci via reference to SUMO_HOME/tools
> where SUMO_HOME points to another version of sumo.
>
> Am Di., 9. Juni 2020 um 15:24 Uhr schrieb Tripplanner Mumbai <
> tripplanner...@gmail.com>:
>
>> Hello,
>>
>> traci.busstop.getLaneID("busStop#35") did not work since there is no
>> class in "busstop" in my installed version, you may verify it from the
>> attachment which is the list of classes available in my local machine. Note
>> that I am using the latest development version of SUMO (
>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
>> ).
>>
>> However, class "busstop" is available in online documentation (
>> https://sumo.dlr.de/daily/pydoc/). Kindly, verify the latest development
>> and let me know.
>>
>> thanks and regards,
>> Dillip Rout
>>
>>
>>
>> On Wed, 3 Jun 2020 at 13:40, Jakob Erdmann  wrote:
>>
>>> the relationship between lane ids and edge ids is quite trivial but you
>>> can also use traci.lane.getEdgeID(laneID) to get one from the other.
>>>
>>> Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai <
>>> tripplanner...@gmail.com>:
>>>
 Hello,
 I am using the latest development version of SUMO (
 https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
 ).
 However, I found the documentation part (
 https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the
 signature of findRoute is this:

 *findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0, routingMode
 =0)

 The same signature I got in my local machine where I have installed the
 latest development version. Note that there is no input
 for the lanes as you mentioned. Please clarify.

 thanks and regards,
 Dillip Rout



 On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann 
 wrote:

> If you know the lane and position of the busStops, you can use
> function traci.simulation.findRoute to get the distance and traveltime
> between them.
> You can either parse lane and position from the input xml (i.e. with
> sumolib.xml.parse) or you can use traci.busstop.getLaneID and
> traci.busstop.getEndPos.
> The latter functions are only available in the latest development
> version.
>
> regards,
> Jakob
>
>
> Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
> tripplanner...@gmail.com>:
>
>> Hello,
>> I have a network and all its properties are defined. I am getting all
>> needed output such as stop information, trip information, person
>> information, etc.
>>
>> However, I would like to know how to calculate or find out the
>> distance and travel time (as per definition). For example, I have a 
>> transit
>> line (or public transport route) as follows.
>> 
>> 
>> 
>> 
>>
>> Now, if I wanted to find out the distance and travel time from
>> busStop#35 to busStop#36. TraCI code is preferable to obtain these
>> requirements.
>>
>> thanks and regards,
>> Dillip Rout
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
 ___
 sumo-user mailing list
 sumo-user@eclipse.org
 To unsubscribe from this list, visit
 https://www.eclipse.org/mailman/listinfo/sumo-user

>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> 

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Jakob Erdmann
The download https://sumo.dlr.de/daily/sumo-win64-git.zip contains the file
tools/traci/_busstop.py
Most likely your are importing traci via reference to SUMO_HOME/tools where
SUMO_HOME points to another version of sumo.

Am Di., 9. Juni 2020 um 15:24 Uhr schrieb Tripplanner Mumbai <
tripplanner...@gmail.com>:

> Hello,
>
> traci.busstop.getLaneID("busStop#35") did not work since there is no class
> in "busstop" in my installed version, you may verify it from the attachment
> which is the list of classes available in my local machine. Note that I am
> using the latest development version of SUMO (
> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version).
>
> However, class "busstop" is available in online documentation (
> https://sumo.dlr.de/daily/pydoc/). Kindly, verify the latest development
> and let me know.
>
> thanks and regards,
> Dillip Rout
>
>
>
> On Wed, 3 Jun 2020 at 13:40, Jakob Erdmann  wrote:
>
>> the relationship between lane ids and edge ids is quite trivial but you
>> can also use traci.lane.getEdgeID(laneID) to get one from the other.
>>
>> Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai <
>> tripplanner...@gmail.com>:
>>
>>> Hello,
>>> I am using the latest development version of SUMO (
>>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
>>> ).
>>> However, I found the documentation part (
>>> https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the
>>> signature of findRoute is this:
>>>
>>> *findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0, routingMode
>>> =0)
>>>
>>> The same signature I got in my local machine where I have installed the
>>> latest development version. Note that there is no input
>>> for the lanes as you mentioned. Please clarify.
>>>
>>> thanks and regards,
>>> Dillip Rout
>>>
>>>
>>>
>>> On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann 
>>> wrote:
>>>
 If you know the lane and position of the busStops, you can use function
 traci.simulation.findRoute to get the distance and traveltime between them.
 You can either parse lane and position from the input xml (i.e. with
 sumolib.xml.parse) or you can use traci.busstop.getLaneID and
 traci.busstop.getEndPos.
 The latter functions are only available in the latest development
 version.

 regards,
 Jakob


 Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
 tripplanner...@gmail.com>:

> Hello,
> I have a network and all its properties are defined. I am getting all
> needed output such as stop information, trip information, person
> information, etc.
>
> However, I would like to know how to calculate or find out the
> distance and travel time (as per definition). For example, I have a 
> transit
> line (or public transport route) as follows.
> 
> 
> 
> 
>
> Now, if I wanted to find out the distance and travel time from
> busStop#35 to busStop#36. TraCI code is preferable to obtain these
> requirements.
>
> thanks and regards,
> Dillip Rout
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
 ___
 sumo-user mailing list
 sumo-user@eclipse.org
 To unsubscribe from this list, visit
 https://www.eclipse.org/mailman/listinfo/sumo-user

>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Hello,

traci.busstop.getLaneID("busStop#35") did not work since there is no class
in "busstop" in my installed version, you may verify it from the attachment
which is the list of classes available in my local machine. Note that I am
using the latest development version of SUMO (
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version).

However, class "busstop" is available in online documentation (
https://sumo.dlr.de/daily/pydoc/). Kindly, verify the latest development
and let me know.

thanks and regards,
Dillip Rout



On Wed, 3 Jun 2020 at 13:40, Jakob Erdmann  wrote:

> the relationship between lane ids and edge ids is quite trivial but you
> can also use traci.lane.getEdgeID(laneID) to get one from the other.
>
> Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai <
> tripplanner...@gmail.com>:
>
>> Hello,
>> I am using the latest development version of SUMO (
>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
>> ).
>> However, I found the documentation part (
>> https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the
>> signature of findRoute is this:
>>
>> *findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0, routingMode=0
>> )
>>
>> The same signature I got in my local machine where I have installed the
>> latest development version. Note that there is no input
>> for the lanes as you mentioned. Please clarify.
>>
>> thanks and regards,
>> Dillip Rout
>>
>>
>>
>> On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann  wrote:
>>
>>> If you know the lane and position of the busStops, you can use function
>>> traci.simulation.findRoute to get the distance and traveltime between them.
>>> You can either parse lane and position from the input xml (i.e. with
>>> sumolib.xml.parse) or you can use traci.busstop.getLaneID and
>>> traci.busstop.getEndPos.
>>> The latter functions are only available in the latest development
>>> version.
>>>
>>> regards,
>>> Jakob
>>>
>>>
>>> Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
>>> tripplanner...@gmail.com>:
>>>
 Hello,
 I have a network and all its properties are defined. I am getting all
 needed output such as stop information, trip information, person
 information, etc.

 However, I would like to know how to calculate or find out the distance
 and travel time (as per definition). For example, I have a transit line (or
 public transport route) as follows.
 
 
 
 

 Now, if I wanted to find out the distance and travel time from
 busStop#35 to busStop#36. TraCI code is preferable to obtain these
 requirements.

 thanks and regards,
 Dillip Rout
 ___
 sumo-user mailing list
 sumo-user@eclipse.org
 To unsubscribe from this list, visit
 https://www.eclipse.org/mailman/listinfo/sumo-user

>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-03 Thread Jakob Erdmann
the relationship between lane ids and edge ids is quite trivial but you can
also use traci.lane.getEdgeID(laneID) to get one from the other.

Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai <
tripplanner...@gmail.com>:

> Hello,
> I am using the latest development version of SUMO (
> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version).
> However, I found the documentation part (
> https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the
> signature of findRoute is this:
>
> *findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0, routingMode=0)
>
> The same signature I got in my local machine where I have installed the
> latest development version. Note that there is no input
> for the lanes as you mentioned. Please clarify.
>
> thanks and regards,
> Dillip Rout
>
>
>
> On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann  wrote:
>
>> If you know the lane and position of the busStops, you can use function
>> traci.simulation.findRoute to get the distance and traveltime between them.
>> You can either parse lane and position from the input xml (i.e. with
>> sumolib.xml.parse) or you can use traci.busstop.getLaneID and
>> traci.busstop.getEndPos.
>> The latter functions are only available in the latest development version.
>>
>> regards,
>> Jakob
>>
>>
>> Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
>> tripplanner...@gmail.com>:
>>
>>> Hello,
>>> I have a network and all its properties are defined. I am getting all
>>> needed output such as stop information, trip information, person
>>> information, etc.
>>>
>>> However, I would like to know how to calculate or find out the distance
>>> and travel time (as per definition). For example, I have a transit line (or
>>> public transport route) as follows.
>>> 
>>> 
>>> 
>>> 
>>>
>>> Now, if I wanted to find out the distance and travel time from
>>> busStop#35 to busStop#36. TraCI code is preferable to obtain these
>>> requirements.
>>>
>>> thanks and regards,
>>> Dillip Rout
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-03 Thread Tripplanner Mumbai
Hello,
I am using the latest development version of SUMO (
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version).
However, I found the documentation part (
https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the signature
of findRoute is this:

*findRoute*(self, fromEdge, toEdge, vType=''", depart=-1.0, routingMode=0)

The same signature I got in my local machine where I have installed the
latest development version. Note that there is no input
for the lanes as you mentioned. Please clarify.

thanks and regards,
Dillip Rout



On Wed, 3 Jun 2020 at 11:27, Jakob Erdmann  wrote:

> If you know the lane and position of the busStops, you can use function
> traci.simulation.findRoute to get the distance and traveltime between them.
> You can either parse lane and position from the input xml (i.e. with
> sumolib.xml.parse) or you can use traci.busstop.getLaneID and
> traci.busstop.getEndPos.
> The latter functions are only available in the latest development version.
>
> regards,
> Jakob
>
>
> Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
> tripplanner...@gmail.com>:
>
>> Hello,
>> I have a network and all its properties are defined. I am getting all
>> needed output such as stop information, trip information, person
>> information, etc.
>>
>> However, I would like to know how to calculate or find out the distance
>> and travel time (as per definition). For example, I have a transit line (or
>> public transport route) as follows.
>> 
>> 
>> 
>> 
>>
>> Now, if I wanted to find out the distance and travel time from busStop#35
>> to busStop#36. TraCI code is preferable to obtain these requirements.
>>
>> thanks and regards,
>> Dillip Rout
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-02 Thread Jakob Erdmann
If you know the lane and position of the busStops, you can use function
traci.simulation.findRoute to get the distance and traveltime between them.
You can either parse lane and position from the input xml (i.e. with
sumolib.xml.parse) or you can use traci.busstop.getLaneID and
traci.busstop.getEndPos.
The latter functions are only available in the latest development version.

regards,
Jakob


Am Mo., 1. Juni 2020 um 08:06 Uhr schrieb Tripplanner Mumbai <
tripplanner...@gmail.com>:

> Hello,
> I have a network and all its properties are defined. I am getting all
> needed output such as stop information, trip information, person
> information, etc.
>
> However, I would like to know how to calculate or find out the distance
> and travel time (as per definition). For example, I have a transit line (or
> public transport route) as follows.
> 
> 
> 
> 
>
> Now, if I wanted to find out the distance and travel time from busStop#35
> to busStop#36. TraCI code is preferable to obtain these requirements.
>
> thanks and regards,
> Dillip Rout
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-01 Thread Tripplanner Mumbai
Hello,
I have a network and all its properties are defined. I am getting all
needed output such as stop information, trip information, person
information, etc.

However, I would like to know how to calculate or find out the distance and
travel time (as per definition). For example, I have a transit line (or
public transport route) as follows.





Now, if I wanted to find out the distance and travel time from busStop#35
to busStop#36. TraCI code is preferable to obtain these requirements.

thanks and regards,
Dillip Rout
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user