瀏覽代碼

change map_lanetoxodr.

yuchuli 2 年之前
父節點
當前提交
6b9cf5f0e3
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);