Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Assert Error in edgesInDistricts.py

Hello,

 

I successfully created a taz polygone file with POLYCONVERT and have imported the corresponding network file using NETCONVERT. When I run the edgesInDistrits.py edge taz file, I get the error below. What does it mean?

 

Traceback (most recent call last):

  File " $SUMO_HOME/tools/edgesInDistricts.py", line 193, in <module>

    reader.computeWithin(polyReader.getPolygons(), options)

  File "$SUMO_HOME/tools/edgesInDistricts.py", line 43, in computeWithin

    districtBoxes[district.id] = district.getBoundingBox()

  File "$SUMO_HOME/tools/sumolib/shapes/polygon.py", line 43, in getBoundingBox

    assert(xmin != xmax or ymin != ymax)

AssertionError

 

Thanks. 

 

Juliette


Back to the top