Browse Source

change map_lanetoxodr.

yuchuli 2 years ago
parent
commit
6b9cf5f0e3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/tool/map_lanetoxodr/function/ndsdataproc.cpp

+ 2 - 0
src/tool/map_lanetoxodr/function/ndsdataproc.cpp

@@ -679,6 +679,8 @@ int NDSDataProc::ProcNDSData(std::string strlinepath,std::string strvehiclepath,
         s = s + xvectorgeo[j].mfLen;
     }
 
+    p->SetRoadLength(s);
+
     p->AddLaneSection(0);
 
     LaneSection * pLS = p->GetLaneSection(0);