Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Routes from counting data

Dear Mirko, dear Fereshteh,

there is a tool for that:


On Fri, 14 Jul 2023, at 8:31 AM, Mirko Barthauer via sumo-user wrote:

You'll have to do this in a few steps:

  • import your geo-referenced network
  • convert your detector coordinates in Python using (see docs, reference)
    • load the network
    • read your detector coordinates from input
    • for each detector coordinate:
      • get point in XY space:
      • store obtained lane and position of the detector from
    • write the detector additional

Best regards







Betreff: [sumo-user] Routes from counting data

Datum: 2023-07-13T16:32:47+0200

Von: "fereshte jafari via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>




I have a question regarding the detector file.
As it is mentioned in, SUMO requires the position of the detector on the lane to be expressed in meters. Specifically, the position should fall within the range of -1*lane's length to the lane's length. What I have in my database of detectors is the "latitude" and "longitude" of detectors. I wanted to know whether SUMO can read the "latitude" and "longitude" of detectors and locate the detectors on the network or not. If yes, could you please guide me on how to insert this information in the detector file?
Thanks in advance.
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho


sumo-user mailing list
To unsubscribe from this list, visit

Back to the top