Changeset 3723 in ntrip


Ignore:
Timestamp:
Feb 25, 2012, 10:26:52 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r3528 r3723  
    406406  readSkeleton();
    407407  if (_headerLines.size() > 0) {
     408    bool typesOfObservationsWritten = false;
    408409    QStringListIterator it(_headerLines);
    409410    while (it.hasNext()) {
     
    421422        }
    422423      }
    423       else if (line.indexOf("# / TYPES OF OBSERV") != -1) {
     424      else if ( !typesOfObservationsWritten &&
     425                (line.indexOf("# / TYPES OF OBSERV") != -1 ||
     426                 line.indexOf("SYS / # / OBS TYPES") != -1) ) {
     427        typesOfObservationsWritten = true;
    424428        if (_rinexVers == 3) {
    425429          _out << "G   20 C1C L1C D1C S1C C1W L1W D1W S1W C2P L2P D2P S2P C2X  SYS / # / OBS TYPES" << endl;
Note: See TracChangeset for help on using the changeset viewer.