Changeset 19325 in josm for trunk/src/org
- Timestamp:
- 2025-02-16T13:21:38+01:00 (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/nmea/NmeaParser.java
r19316 r19325 335 335 } 336 336 } else { 337 // Since there is no checksum, we remove any line endings 338 chkstrings[0] = chkstrings[0].replaceAll("\\r|\\n", ""); 337 339 noChecksum++; 338 340 } … … 444 446 } 445 447 // Age of differential correction 446 accu = e[GGA.GPS_AGE.position]; 447 if (!accu.isEmpty() && currentwp != null) { 448 currentwp.put(GpxConstants.PT_AGEOFDGPSDATA, Float.valueOf(accu)); 448 if (GGA.GPS_AGE.position < e.length) { 449 accu = e[GGA.GPS_AGE.position]; 450 if (!accu.isEmpty() && currentwp != null) { 451 currentwp.put(GpxConstants.PT_AGEOFDGPSDATA, Float.valueOf(accu)); 452 } 449 453 } 450 454 // reference ID
Note:
See TracChangeset
for help on using the changeset viewer.