diff --git a/server/vissv2server/serviceMgr/curvelog.go b/server/vissv2server/serviceMgr/curvelog.go index 0de0f821..22b4cb61 100644 --- a/server/vissv2server/serviceMgr/curvelog.go +++ b/server/vissv2server/serviceMgr/curvelog.go @@ -305,6 +305,9 @@ func analyzeSignalDimensions(paths []string, signalDimensionList *SignalDimensio pathDimList[i].Id = -1 pathDimList[i].Populated = false } + if signalDimensionList == nil { + return pathDimList + } for i := 0; i < len(paths); i++ { if is2dim(paths[i], 1, signalDimensionList.dim2List) == true { for j := i + 1; j < len(paths); j++ { diff --git a/server/vissv2server/serviceMgr/signaldimension.json b/server/vissv2server/serviceMgr/signaldimension.json deleted file mode 100644 index 01cd2b76..00000000 --- a/server/vissv2server/serviceMgr/signaldimension.json +++ /dev/null @@ -1 +0,0 @@ -{"dim2":[{"path1":"Vehicle.CurrentLocation.Latitude", "path2":"Vehicle.CurrentLocation.Longitude"}], "dim3":[{"path1":"Vehicle.Acceleration.Lateral", "path2":"Vehicle.Acceleration.Longitudinal", "path3":"Vehicle.Acceleration.Vertical"}]}