You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert the OSM file, ok it's converted but with this warning. I need a solution for this or at least to understand why I get this warning !?
d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\utils.py:241: RuntimeWarning: invalid value encountered in double_scalars r2 = ( y1*np.cos(hdg1) + np.sin(hdg1) * (x2-x2)-y2*np.cos(hdg1)) /((np.sin(hdg2)*np.cos(hdg1) - np.sin(hdg1) *np.cos(hdg2) )) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\utils.py:241: RuntimeWarning: divide by zero encountered in double_scalars r2 = ( y1*np.cos(hdg1) + np.sin(hdg1) * (x2-x2)-y2*np.cos(hdg1)) /((np.sin(hdg2)*np.cos(hdg1) - np.sin(hdg1) *np.cos(hdg2) )) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\utils.py:247: RuntimeWarning: invalid value encountered in double_scalars r1 = (-y1*np.cos(hdg2)+ y2*np.cos(hdg2) + np.sin(hdg2) *x1-np.sin(hdg2) *x2 )/(np.sin(hdg1) * np.cos(hdg2) - np.sin(hdg2) *np.cos(hdg1)) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\arcCurves.py:95: RuntimeWarning: divide by zero encountered in double_scalars curvature = -deltaHdg / length d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\osmParsing.py:798: RuntimeWarning: invalid value encountered in double_scalars "steigung":(giveHeight(xendline,yendline,minRemoved=True)-giveHeight(xarc,yarc,minRemoved=True))/length,"length":length}) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\osmParsing.py:775: RuntimeWarning: invalid value encountered in double_scalars self.laneOffsetB = -(self.laneOffsetA-laneOffsetEnd)/length
The text was updated successfully, but these errors were encountered:
I need help here ... @FXCarl @JHMeusener @
I am trying to convert the OSM file, ok it's converted but with this warning. I need a solution for this or at least to understand why I get this warning !?
d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\utils.py:241: RuntimeWarning: invalid value encountered in double_scalars r2 = ( y1*np.cos(hdg1) + np.sin(hdg1) * (x2-x2)-y2*np.cos(hdg1)) /((np.sin(hdg2)*np.cos(hdg1) - np.sin(hdg1) *np.cos(hdg2) )) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\utils.py:241: RuntimeWarning: divide by zero encountered in double_scalars r2 = ( y1*np.cos(hdg1) + np.sin(hdg1) * (x2-x2)-y2*np.cos(hdg1)) /((np.sin(hdg2)*np.cos(hdg1) - np.sin(hdg1) *np.cos(hdg2) )) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\utils.py:247: RuntimeWarning: invalid value encountered in double_scalars r1 = (-y1*np.cos(hdg2)+ y2*np.cos(hdg2) + np.sin(hdg2) *x1-np.sin(hdg2) *x2 )/(np.sin(hdg1) * np.cos(hdg2) - np.sin(hdg2) *np.cos(hdg1)) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\arcCurves.py:95: RuntimeWarning: divide by zero encountered in double_scalars curvature = -deltaHdg / length d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\osmParsing.py:798: RuntimeWarning: invalid value encountered in double_scalars "steigung":(giveHeight(xendline,yendline,minRemoved=True)-giveHeight(xarc,yarc,minRemoved=True))/length,"length":length}) d:\osm2xodr\osm2xodr - mo7yasser\OSMParser\osmParsing.py:775: RuntimeWarning: invalid value encountered in double_scalars self.laneOffsetB = -(self.laneOffsetA-laneOffsetEnd)/length
The text was updated successfully, but these errors were encountered: