Changeset 14762 in josm for trunk/src/org
- Timestamp:
- 2019-02-05T11:25:53+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r14761 r14762 63 63 gpxParsedProperly = reader.parse(false); 64 64 GpxData currentGpx = reader.getGpxData(); 65 long count = 0; 66 if (currentGpx.hasTrackPoints()) { 67 count = currentGpx.getTrackPoints().count(); 68 } 69 if (count < pointsPerPage) 70 done = true; 71 Logging.debug("got {0} gpx points", count); 65 72 if (result == null) { 66 73 result = currentGpx; 67 } else if (currentGpx.hasTrackPoints()) { 68 long count = currentGpx.getTrackPoints().count(); 69 Logging.debug("got {0} gpx points", count); 70 if (count < pointsPerPage) 71 done = true; 74 } else { 72 75 result.mergeFrom(currentGpx); 73 } else {74 done = true;75 76 } 76 77 } catch (OsmApiException ex) {
Note:
See TracChangeset
for help on using the changeset viewer.