Browse Source

change map_lanetoxodr. change use rtk lat lon data.

yuchuli 3 years ago
parent
commit
2a04acd44c
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/tool/map_lanetoxodr/dialogaddroadfromrtk.cpp

+ 4 - 2
src/tool/map_lanetoxodr/dialogaddroadfromrtk.cpp

@@ -130,8 +130,10 @@ void DialogAddRoadFromRTK::on_pushButton_LoadData_clicked()
             int ncount = strlistvalue.size();
             if(ncount>=4)
             {
-                flon = getvaluefromdegreestring(strlistvalue.at(2));
-                flat = getvaluefromdegreestring(strlistvalue.at(1));
+//                flon = getvaluefromdegreestring(strlistvalue.at(2));
+//                flat = getvaluefromdegreestring(strlistvalue.at(1));
+                flon  = atof(strlistvalue.at(2).data());
+                flat = atof(strlistvalue.at(1).data());
                 QString strheight = strlistvalue.at(3);
                 strheight = strheight.left(strheight.size() -2);
                 fheight = strheight.toDouble();