Commit 1a580cf634064fc7b23cf6f261b539ac5ae4674a

Authored by 王通
1 parent f3e06241

1.轨迹回放时过滤线路编码为0的坐标点

src/main/java/com/bsth/service/gps/GpsServiceImpl.java
... ... @@ -888,7 +888,7 @@ public class GpsServiceImpl implements GpsService {
888 888 //计算里程
889 889 List<HistoryGps_DTOV3> effList = new ArrayList<>();
890 890 for(HistoryGps_DTOV3 gps : list){
891   - if(gps.getLat() != 0 && gps.getLon() != 0)
  891 + if(gps.getLat() != 0 && gps.getLon() != 0 && !"0".equals(gps.getLineId()))
892 892 effList.add(gps);
893 893 }
894 894 double sum = 0, dist;
... ...