Changeset 8802 in ntrip
- Timestamp:
- Sep 20, 2019, 2:50:50 PM (5 years ago)
- Location:
- branches/BNC_2.12/src/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/rinex/reqcedit.cpp
r8657 r8802 521 521 } 522 522 } 523 // TODO: enable user decision 523 524 qStableSort(ephs.begin(), ephs.end(), t_eph::earlierTime); 525 //qStableSort(ephs.begin(), ephs.end(), t_eph::prnSort); 524 526 } 525 527 -
branches/BNC_2.12/src/rinex/rnxobsfile.cpp
r8745 r8802 1315 1315 const t_rnxSat& rnxSat = epo->rnxSat[ii]; 1316 1316 if (_header._obsTypes[rnxSat.prn.system()].size() > 0) { 1317 if (_header.version() < 3.0) { // exclude new GNSS such as BDS, QZSS, IRNSS, etc. 1318 if (rnxSat.prn.system() != 'G' && rnxSat.prn.system() != 'R' && 1319 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S' && 1320 rnxSat.prn.system() != 'I') { 1321 continue; 1322 } 1323 } 1317 1324 epoLocal.rnxSat.push_back(rnxSat); 1318 1325 } 1319 1326 } 1320 1327 std::stable_sort(epoLocal.rnxSat.begin(), epoLocal.rnxSat.end(), t_rnxSat::prnSort); 1328 1321 1329 if (version() < 3.0) { 1322 1330 return writeEpochV2(_stream, _header, &epoLocal); -
branches/BNC_2.12/src/rinex/rnxobsfile.h
r8639 r8802 123 123 t_prn prn; 124 124 QMap<QString, t_rnxObs> obs; 125 static bool prnSort(const t_rnxSat rnxSat1, const t_rnxSat rnxSat2) {return rnxSat1.prn < rnxSat2.prn;} 125 126 }; 126 127 … … 220 221 if (header.version() < 3.0) { // exclude new GNSS such as BDS, QZSS, IRNSS, etc. 221 222 if (rnxSat.prn.system() != 'G' && rnxSat.prn.system() != 'R' && 222 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S') { 223 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S' && 224 rnxSat.prn.system() != 'I') { 223 225 continue; 224 226 } … … 227 229 } 228 230 } 231 std::stable_sort(epoLocal.rnxSat.begin(), epoLocal.rnxSat.end(), t_rnxSat::prnSort); 232 229 233 if (header.version() >= 3.0) { 230 234 writeEpochV3(stream, header, &epoLocal);
Note:
See TracChangeset
for help on using the changeset viewer.