Changeset 6586 in ntrip


Ignore:
Timestamp:
Feb 15, 2015, 11:58:20 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6585 r6586  
    10611061      QString typeV3 = header.obsType(sys, iTypeV3);
    10621062      QMapIterator<QString, t_rnxObs> itObs(rnxSat.obs);
     1063
     1064      // Exact match
     1065      // -----------
    10631066      while (itObs.hasNext()) {
    10641067        itObs.next();
    10651068        const QString&  type   = itObs.key();
    10661069        const t_rnxObs& rnxObs = itObs.value();
    1067         if ( typeV3 == type2to3(sys, type) ||
    1068              (typeV3 == type2to3(sys, type).left(2) && rnxObs.value != 0.0) ) {
     1070        if (typeV3 == type2to3(sys, type) && rnxObs.value != 0.0) {
     1071          hlp[iTypeV3] = &itObs.value();
     1072        }
     1073      }
     1074
     1075      // Non-Exact match
     1076      // ---------------
     1077      itObs.toFront();
     1078      while (itObs.hasNext()) {
     1079        itObs.next();
     1080        const QString&  type   = itObs.key();
     1081        const t_rnxObs& rnxObs = itObs.value();
     1082        if (hlp[iTypeV3] == 0 && typeV3 == type2to3(sys, type).left(2) && rnxObs.value != 0.0) {
    10691083          hlp[iTypeV3] = &itObs.value();
    10701084        }
Note: See TracChangeset for help on using the changeset viewer.