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