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@eclipse.org>: > 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@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