Changeset 3960 in ntrip for trunk/BNC/rinex/rnxobsfile.cpp


Ignore:
Timestamp:
Apr 20, 2012, 11:25:35 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.cpp

    r3956 r3960  
    595595      const QString& typeV2 = header._obsTypesV2[ii];
    596596      for (unsigned iSys = 0; iSys < systems.length(); iSys++) {
    597         char sys = systems[iSys];
    598         _header._obsTypesV3[sys].push_back( type2to3(sys, typeV2) );
     597        char    sys    = systems[iSys];
     598        QString typeV3 =  type2to3(sys, typeV2);
     599        if (!typeV3.isEmpty()) {
     600          _header._obsTypesV3[sys].push_back(typeV3);
     601          _indexMap2to3[sys][ii] = _header._obsTypesV3[sys].size() - 1;
     602        }
     603        else {
     604          _indexMap2to3[sys][ii] = -1;
     605        }
    599606      }
    600607    }
Note: See TracChangeset for help on using the changeset viewer.