Changeset 34749 in osm for applications/editors/josm
- Timestamp:
- 2018-11-28T22:59:45+01:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/TangoGPS.java
r34475 r34749 29 29 import org.openstreetmap.josm.spi.preferences.Config; 30 30 import org.openstreetmap.josm.tools.Logging; 31 import org.openstreetmap.josm.tools.date.DateUtils; 31 32 32 33 /** … … 67 68 parseLatLon(lineElements)); 68 69 currentWayPoint.attr.put("ele", lineElements[2]); 69 currentWayPoint.attr.put("time", lineElements[6]); 70 currentWayPoint.setTime(); 70 currentWayPoint.setTimeInMillis(DateUtils.tsFromString(lineElements[6])); 71 71 currentTrackSeg.add(currentWayPoint); 72 72 imported++; -
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/Tcx.java
r34748 r34749 159 159 if (waypt != null) { 160 160 if (startTime != null) { 161 waypt.attr.put("name", "LAP" 162 + (++lap)); 161 waypt.attr.put("name", "LAP" + ++lap); 163 162 gpxData.waypoints.add(waypt); 164 163 startTime = null;
Note:
See TracChangeset
for help on using the changeset viewer.