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


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.h

    r8640 r8798  
    4646
    4747 public:
    48   static const QString defaultSystems;
    4948
    5049  t_rnxObsHeader();
     
    124123    t_prn                   prn;
    125124    QMap<QString, t_rnxObs> obs;
     125    static bool prnSort(const t_rnxSat rnxSat1, const t_rnxSat rnxSat2) {return rnxSat1.prn < rnxSat2.prn;}
    126126  };
    127127
     
    221221        if (header.version() < 3.0) { // exclude new GNSS such as BDS, QZSS, IRNSS, etc.
    222222            if (rnxSat.prn.system() != 'G' && rnxSat.prn.system() != 'R' &&
    223                 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S') {
     223                rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S' &&
     224                rnxSat.prn.system() != 'I') {
    224225              continue;
    225226            }
     
    228229      }
    229230    }
     231    std::stable_sort(epoLocal.rnxSat.begin(), epoLocal.rnxSat.end(), t_rnxSat::prnSort);
     232
    230233    if (header.version() >= 3.0) {
    231234      writeEpochV3(stream, header, &epoLocal);
Note: See TracChangeset for help on using the changeset viewer.