Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] pois2inductionLoops error

As the directory "purgatory" tries to suggest, this tool is no longer maintained.
You can convert your poi file to csv with tools/xml/xml2csv.py and then obtain the detectors with
tools/detector/mapDetectors.py

Am Do., 25. Apr. 2024 um 10:41 Uhr schrieb Joan Carmona Mercadé via sumo-user <sumo-user@xxxxxxxxxxx>:

Hi,

 

I’m trying to convert a shapefile of points into detectors. First, I use polyconvert to convert the shapefile into an additional XML file of <poi> structures.

Then, I try to use the pois2inductionLoops.py utility to convert pois file into detectors, but I’m getting the following error:

 

Reading net...

Reading PoIs...

Traceback (most recent call last):

  File "C:\Program Files (x86)\Eclipse\Sumo\tools\purgatory\pois2inductionLoops.py", line 45, in <module>

    pois = sumolib.poi.readPois(sys.argv[2])

           ^^^^^^^^^^^

AttributeError: module 'sumolib' has no attribute 'poi'

 

Any idea?

 

Thanks!

 

Joan

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

Back to the top