Changeset 36239 in osm for applications/editors/josm/plugins/ElevationProfile/src
- Timestamp:
- 2024-04-08T07:30:10+02:00 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/ElevationHelper.java
r35978 r36239 77 77 78 78 // no HGT, check for elevation data in GPX 79 if (!wpt.attr.containsKey(HEIGHT_ATTRIBUTE)) { 79 // Parse elevation from GPX data 80 String height = wpt.getString(HEIGHT_ATTRIBUTE); 81 if (height == null) { 80 82 // GPX has no elevation data :-( 81 83 return NO_ELEVATION; 82 84 } 83 85 84 // Parse elevation from GPX data85 String height = wpt.getString(ElevationHelper.HEIGHT_ATTRIBUTE);86 86 try { 87 87 return Double.parseDouble(height);
Note:
See TracChangeset
for help on using the changeset viewer.