Changeset 9243 in josm for trunk/src/org/openstreetmap/josm/gui/layer/geoimage
- Timestamp:
- 2016-01-01T19:51:11+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer/geoimage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java
r9078 r9243 1144 1144 * Match a list of photos to a gpx track with a given offset. 1145 1145 * All images need a exifTime attribute and the List must be sorted according to these times. 1146 * @param images images to match 1147 * @param selectedGpx selected GPX data 1148 * @param offset offset 1149 * @return number of matched points 1146 1150 */ 1147 1151 private int matchGpxTrack(List<ImageEntry> images, GpxData selectedGpx, long offset) { -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java
r9078 r9243 598 598 * 599 599 * If successful, fills in the LatLon and EastNorth attributes of passed in image 600 * @param e image entry 600 601 */ 601 602 private static void extractExif(ImageEntry e) { -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageEntry.java
r8840 r9243 51 51 52 52 /** 53 * getter methods that refer to the temporary value 53 * Returns the cached temporary position value. 54 * @return the cached temporary position value 54 55 */ 55 56 public CachedLatLon getPos() { … … 59 60 } 60 61 62 /** 63 * Returns the cached temporary speed value. 64 * @return the cached temporary speed value 65 */ 61 66 public Double getSpeed() { 62 67 if (tmp != null) … … 65 70 } 66 71 72 /** 73 * Returns the cached temporary elevation value. 74 * @return the cached temporary elevation value 75 */ 67 76 public Double getElevation() { 68 77 if (tmp != null) … … 71 80 } 72 81 82 /** 83 * Returns the cached temporary GPS time value. 84 * @return the cached temporary GPS time value 85 */ 73 86 public Date getGpsTime() { 74 87 if (tmp != null) … … 87 100 88 101 /** 89 * other getter methods 102 * Returns associated file. 103 * @return associated file 90 104 */ 91 105 public File getFile() { … … 93 107 } 94 108 109 /** 110 * Returns EXIF orientation 111 * @return EXIF orientation 112 */ 95 113 public Integer getExifOrientation() { 96 114 return exifOrientation; 97 115 } 98 116 117 /** 118 * Returns EXIF time 119 * @return EXIF time 120 */ 99 121 public Date getExifTime() { 100 122 return getDefensiveDate(exifTime); … … 147 169 148 170 /** 149 * setter methods 171 * Sets the position. 172 * @param pos cached position 150 173 */ 151 174 public void setPos(CachedLatLon pos) { … … 153 176 } 154 177 178 /** 179 * Sets the position. 180 * @param pos position (will be cached) 181 */ 155 182 public void setPos(LatLon pos) { 156 this.pos = new CachedLatLon(pos); 157 } 158 183 setPos(new CachedLatLon(pos)); 184 } 185 186 /** 187 * Sets the speed. 188 * @param speed speed 189 */ 159 190 public void setSpeed(Double speed) { 160 191 this.speed = speed; 161 192 } 162 193 194 /** 195 * Sets the elevation. 196 * @param elevation elevation 197 */ 163 198 public void setElevation(Double elevation) { 164 199 this.elevation = elevation; 165 200 } 166 201 202 /** 203 * Sets associated file. 204 * @param file associated file 205 */ 167 206 public void setFile(File file) { 168 207 this.file = file; 169 208 } 170 209 210 /** 211 * Sets EXIF orientation. 212 * @param exifOrientation EXIF orientation 213 */ 171 214 public void setExifOrientation(Integer exifOrientation) { 172 215 this.exifOrientation = exifOrientation; 173 216 } 174 217 218 /** 219 * Sets EXIF time. 220 * @param exifTime EXIF time 221 */ 175 222 public void setExifTime(Date exifTime) { 176 223 this.exifTime = getDefensiveDate(exifTime); … … 245 292 /** 246 293 * If it has been tagged i.e. matched to a gpx track or retrieved lat/lon from exif 294 * @return {@code true} if it has been tagged 247 295 */ 248 296 public boolean isTagged() {
Note:
See TracChangeset
for help on using the changeset viewer.