Changeset 6586 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Feb 15, 2015, 11:58:20 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6585 r6586 1061 1061 QString typeV3 = header.obsType(sys, iTypeV3); 1062 1062 QMapIterator<QString, t_rnxObs> itObs(rnxSat.obs); 1063 1064 // Exact match 1065 // ----------- 1063 1066 while (itObs.hasNext()) { 1064 1067 itObs.next(); 1065 1068 const QString& type = itObs.key(); 1066 1069 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) { 1069 1083 hlp[iTypeV3] = &itObs.value(); 1070 1084 }
Note:
See TracChangeset
for help on using the changeset viewer.