Class GpxImageCorrelationSettings

java.lang.Object
org.openstreetmap.josm.data.gpx.GpxImageCorrelationSettings

public class GpxImageCorrelationSettings extends Object
Correlation settings used by GpxImageCorrelation.
Since:
18061
  • Field Details

  • Constructor Details

    • GpxImageCorrelationSettings

      public GpxImageCorrelationSettings(long offset, boolean forceTags)
      Constructs a new GpxImageCorrelationSettings.
      Parameters:
      offset - offset in milliseconds
      forceTags - force tagging of all photos, otherwise prefs are used
    • GpxImageCorrelationSettings

      public GpxImageCorrelationSettings(long offset, boolean forceTags, TimeSource imgTimeSource, GpxImageDirectionPositionSettings directionPositionSettings)
      Constructs a new GpxImageCorrelationSettings.
      Parameters:
      offset - offset in milliseconds
      forceTags - force tagging of all photos, otherwise prefs are used
      imgTimeSource - select image clock source: "exifCamTime" for camera internal clock "exifGpsTime for the GPS clock of the camera
      directionPositionSettings - direction/position settings
      Since:
      19426 @imgTimeSource was added
    • GpxImageCorrelationSettings

      public GpxImageCorrelationSettings(long offset, boolean forceTags, TimeSource imgTimeSource, GpxImageDirectionPositionSettings directionPositionSettings, GpxImageDatumSettings datumSettings)
      Constructs a new GpxImageCorrelationSettings.
      Parameters:
      offset - offset in milliseconds
      forceTags - force tagging of all photos, otherwise prefs are used
      imgTimeSource - select image clock source: "exifCamTime" for camera internal clock "exifGpsTime for the GPS clock of the camera
      directionPositionSettings - direction/position settings
      datumSettings - GPS datum settings
      Since:
      19387 @datumSettings was added, 19426 @imgTimeSource was added
  • Method Details

    • 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:
      true if 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

      public String toString()
      Overrides:
      toString in class Object