Changeset 8671 in ntrip
- Timestamp:
- Apr 10, 2019, 3:40:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r8664 r8671 341 341 _rnxV3, &_nextCloseEpoch); 342 342 343 int statIDlength = _statID.size() -1; 343 int n = _statID.size(); 344 int statIDlength; 345 if (n > 9) { 346 statIDlength = 9; // rnx3 347 } 348 else if (n > 4) { 349 statIDlength = 4; // rnx2 350 } 351 else { 352 statIDlength = n; 353 } 344 354 QString ID = _statID.left(statIDlength); 345 355 ID = ID.toUpper(); … … 375 385 continue; 376 386 if (hlp.join(" ").indexOf(_statID, 0) != -1) { 377 country = hlp[2] ;387 country = hlp[2].left(3); 378 388 } 379 389 }
Note:
See TracChangeset
for help on using the changeset viewer.