Changeset 7026 in ntrip


Ignore:
Timestamp:
Jul 8, 2015, 6:48:53 PM (9 years ago)
Author:
stuerze
Message:

minor fixes to allow seperate GPS-only and GLONASS-only data sets in RINEX version 2 navigation files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccore.cpp

    r6598 r7026  
    425425  QString strV3 = eph.toString(t_rnxObsHeader::defaultRnxObsVersion3);
    426426
    427   printOutputEph(printFile, _ephStreamGlonass, strV2, strV3);
     427  if     (_rinexVers == 2 && eph.type() == t_eph::GLONASS) {
     428    printOutputEph(printFile, _ephStreamGlonass, strV2, strV3);
     429  }
     430  else if(_rinexVers == 2 && eph.type() == t_eph::GPS)  {
     431    printOutputEph(printFile, _ephStreamGPS, strV2, strV3);
     432  }
     433  else if (_rinexVers == 3) {
     434    printOutputEph(printFile, _ephStreamGPS, strV2, strV3);
     435  }
    428436}
    429437
Note: See TracChangeset for help on using the changeset viewer.