Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
62c6482584
@ -493,11 +493,11 @@ func findTurnoutIds(axleCountingMap map[string]*graphicData.AxleCounting, axleId
|
||||
func buildKmConverts(ksList []*graphicData.KilometerSystem) []*proto.KilometerConvert {
|
||||
var kmConverts []*proto.KilometerConvert
|
||||
for i, ks := range ksList {
|
||||
if ks.Kilometer == 0 {
|
||||
if ks.Kilometer == 0 || ks.CoordinateSystem == "" {
|
||||
continue
|
||||
}
|
||||
for j := i + 1; j < len(ksList); j++ {
|
||||
if ks.Kilometer == 0 {
|
||||
if ksList[j].Kilometer == 0 || ksList[j].CoordinateSystem == "" {
|
||||
continue
|
||||
}
|
||||
kmConverts = append(kmConverts, buildKmConvert(ks, ksList[j]))
|
||||
|
Loading…
Reference in New Issue
Block a user