Package org.openstreetmap.josm.data.gpx
Class GpxImageCorrelationSettings
java.lang.Object
org.openstreetmap.josm.data.gpx.GpxImageCorrelationSettings
Correlation settings used by
GpxImageCorrelation.- Since:
- 18061
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GpxImageDatumSettingsprivate final GpxImageDirectionPositionSettingsprivate final booleanprivate final TimeSourceprivate final long -
Constructor Summary
ConstructorsConstructorDescriptionGpxImageCorrelationSettings(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
Modifier and TypeMethodDescriptionReturns the EXIF metadata datum settings.Returns the direction/position settings.Return the selected image clock source, which is camera internal time, or GPS timelongReturns the offset in milliseconds.booleanDetermines if tagging of all photos must be forced, otherwise prefs are usedtoString()
-
Field Details
-
offset
-
forceTags
-
imgTimeSource
-
directionPositionSettings
-
datumSettings
-
-
Constructor Details
-
GpxImageCorrelationSettings
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 Details
-
getOffset
Returns the offset in milliseconds.- Returns:
- the offset in milliseconds
-
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
Return the selected image clock source, which is camera internal time, or GPS time- Returns:
- the clock source
- Since:
- 19426
-
getDirectionPositionSettings
Returns the direction/position settings.- Returns:
- the direction/position settings
-
getDatumSettings
Returns the EXIF metadata datum settings.- Returns:
- the EXIF metadata datum settings
- Since:
- 19387
-
toString
-