Hi, SumoNetVis is not maintained by the core SUMO team and I don't know (and cannot find out) whether the maintainer is reading here. So you may ask directly for instance by opening a ticket here: https://github.com/patmalcolm91/SumoNetVis/issues
Best regards,
Michael
Am 24.04.20 um 08:59 schrieb Bijal:
> Dear Sir,
>
> I am getting the following:
>
> Traceback (most recent call last):
> File "D:/SHARE/SumoNetVis-master/SumoNetVis-master/test.py", line 4,
> in <module>
> net = SumoNetVis.Net("test.net.xml")
> File "D:\SHARE\SumoNetVis-master\SumoNetVis-master\SumoNetVis\Net.py",
> line 624, in __init__
> lane = _Lane(laneObj.attrib)
> File "D:\SHARE\SumoNetVis-master\SumoNetVis-master\SumoNetVis\Net.py",
> line 141, in __init__
> self.id <http://self.id> = attrib["id"]
> KeyError: 'id'
>
> Process finished with exit code 1
>
> Code :
>
> import SumoNetVis
> import matplotlib.pyplot as plt
> # Plot Sumo Network
> net = SumoNetVis.Net("test.net.xml")
> net.plot()
>
> # Show figure
>
> plt.show()
>
> FYI I have used :
>
> netconvert -s old.net.xml -o new.net.xml --numerical-ids.node-start 0
>
> Please help.
>
> --
> *:)*
> Bijal Varia
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
