Changeset 8798 in ntrip for trunk/BNC/src/rinex/rnxobsfile.cpp


Ignore:
Timestamp:
Sep 20, 2019, 2:42:08 PM (5 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r8762 r8798  
    360360                   << "C8Q" << "L8Q" << "S8Q"
    361361                   << "C8X" << "L8X" << "S8X";
    362                    
     362
    363363    _obsTypes['S'] << "C1C" << "L1C" << "S1C"
    364364                   << "C5I" << "L5I" << "S5I"
     
    13151315    const t_rnxSat& rnxSat = epo->rnxSat[ii];
    13161316    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      }
    13171324      epoLocal.rnxSat.push_back(rnxSat);
    13181325    }
    13191326  }
     1327  std::stable_sort(epoLocal.rnxSat.begin(), epoLocal.rnxSat.end(), t_rnxSat::prnSort);
    13201328
    13211329  if (version() < 3.0) {
Note: See TracChangeset for help on using the changeset viewer.