Ignore:
Timestamp:
2011-07-29T12:36:51+02:00 (13 years ago)
Author:
oliverw
Message:

Removed check for time stamps, since some files may not have (valid) ones. Instead, we just use the first WP as start and the last as end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/ElevationProfileBase.java

    r24033 r26418  
    146146                }               
    147147               
    148                 if (start.after(end) || start.equals(end)) {
     148                //if (start.after(end) || start.equals(end)) {
    149149                        // GPX does not contain time stamps -> use sequential order
    150150                        setStart(wayPoints.get(0));
    151151                        setEnd(wayPoints.get(n-1));
    152                 }
     152                //}
    153153               
    154154                avrgHeight = sumEle / n;
Note: See TracChangeset for help on using the changeset viewer.