Package org.openstreetmap.josm.data.gpx
Class GpxImageCorrelationSettings
- java.lang.Object
-
- org.openstreetmap.josm.data.gpx.GpxImageCorrelationSettings
-
public class GpxImageCorrelationSettings extends java.lang.Object
Correlation settings used byGpxImageCorrelation.- Since:
- 18061
-
-
Field Summary
Fields Modifier and Type Field Description private GpxImageDatumSettingsdatumSettingsprivate GpxImageDirectionPositionSettingsdirectionPositionSettingsprivate booleanforceTagsprivate TimeSourceimgTimeSourceprivate longoffset
-
Constructor Summary
Constructors Constructor Description GpxImageCorrelationSettings(long offset, boolean forceTags)Constructs a newGpxImageCorrelationSettings.GpxImageCorrelationSettings(long offset, boolean forceTags, TimeSource imgTimeSource, GpxImageDirectionPositionSettings directionPositionSettings)Constructs a newGpxImageCorrelationSettings.GpxImageCorrelationSettings(long offset, boolean forceTags, TimeSource imgTimeSource, GpxImageDirectionPositionSettings directionPositionSettings, GpxImageDatumSettings datumSettings)Constructs a newGpxImageCorrelationSettings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GpxImageDatumSettingsgetDatumSettings()Returns the EXIF metadata datum settings.GpxImageDirectionPositionSettingsgetDirectionPositionSettings()Returns the direction/position settings.TimeSourcegetImgTimeSource()Return the selected image clock source, which is camera internal time, or GPS timelonggetOffset()Returns the offset in milliseconds.booleanisForceTags()Determines if tagging of all photos must be forced, otherwise prefs are usedjava.lang.StringtoString()
-
-
-
Field Detail
-
offset
private final long offset
-
forceTags
private final boolean forceTags
-
imgTimeSource
private final TimeSource imgTimeSource
-
directionPositionSettings
private final GpxImageDirectionPositionSettings directionPositionSettings
-
datumSettings
private final GpxImageDatumSettings datumSettings
-
-
Constructor Detail
-
GpxImageCorrelationSettings
public GpxImageCorrelationSettings(long offset, boolean forceTags)
Constructs a newGpxImageCorrelationSettings.- Parameters:
offset- offset in millisecondsforceTags- force tagging of all photos, otherwise prefs are used
-
GpxImageCorrelationSettings
public GpxImageCorrelationSettings(long offset, boolean forceTags, TimeSource imgTimeSource, GpxImageDirectionPositionSettings directionPositionSettings)
Constructs a newGpxImageCorrelationSettings.- Parameters:
offset- offset in millisecondsforceTags- force tagging of all photos, otherwise prefs are usedimgTimeSource- select image clock source: "exifCamTime" for camera internal clock "exifGpsTime for the GPS clock of the cameradirectionPositionSettings- direction/position settings- Since:
- 19426 @imgTimeSource was added
-
GpxImageCorrelationSettings
public GpxImageCorrelationSettings(long offset, boolean forceTags, TimeSource imgTimeSource, GpxImageDirectionPositionSettings directionPositionSettings, GpxImageDatumSettings datumSettings)
Constructs a newGpxImageCorrelationSettings.- Parameters:
offset- offset in millisecondsforceTags- force tagging of all photos, otherwise prefs are usedimgTimeSource- select image clock source: "exifCamTime" for camera internal clock "exifGpsTime for the GPS clock of the cameradirectionPositionSettings- direction/position settingsdatumSettings- GPS datum settings- Since:
- 19387 @datumSettings was added, 19426 @imgTimeSource was added
-
-
Method Detail
-
getOffset
public long getOffset()
Returns the offset in milliseconds.- Returns:
- the offset in milliseconds
-
isForceTags
public boolean isForceTags()
Determines if tagging of all photos must be forced, otherwise prefs are used- Returns:
trueif tagging of all photos must be forced, otherwise prefs are used
-
getImgTimeSource
public TimeSource getImgTimeSource()
Return the selected image clock source, which is camera internal time, or GPS time- Returns:
- the clock source
- Since:
- 19426
-
getDirectionPositionSettings
public GpxImageDirectionPositionSettings getDirectionPositionSettings()
Returns the direction/position settings.- Returns:
- the direction/position settings
-
getDatumSettings
public GpxImageDatumSettings getDatumSettings()
Returns the EXIF metadata datum settings.- Returns:
- the EXIF metadata datum settings
- Since:
- 19387
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-