public class CorrelateGpxWithImages extends AbstractAction
Modifier and Type | Class and Description |
---|---|
private class |
CorrelateGpxWithImages.AdjustActionListener
Presents dialog with sliders for manual adjust.
|
private class |
CorrelateGpxWithImages.AutoGuessActionListener |
private static class |
CorrelateGpxWithImages.GpxDataWrapper |
private class |
CorrelateGpxWithImages.LoadGpxDataActionListener
This class is called when the user doesn't find the GPX file he needs in the files that have
been loaded yet.
|
private class |
CorrelateGpxWithImages.RepaintTheMapListener |
private class |
CorrelateGpxWithImages.SetOffsetActionListener
This action listener is called when the user has a photo of the time of his GPS receiver.
|
private class |
CorrelateGpxWithImages.StatusBarUpdater |
Modifier and Type | Field and Description |
---|---|
(package private) JCheckBox |
cbExifImg |
(package private) JosmComboBox |
cbGpx |
(package private) JCheckBox |
cbShowThumbs |
(package private) JCheckBox |
cbTaggedImg |
(package private) long |
delta |
(package private) List<CorrelateGpxWithImages.GpxDataWrapper> |
gpxLst |
(package private) int |
lastNumMatched |
private static List<GpxData> |
loadedGpxData |
(package private) JPanel |
outerPanel |
(package private) CorrelateGpxWithImages.RepaintTheMapListener |
repaintTheMap |
(package private) JLabel |
statusBarText |
(package private) CorrelateGpxWithImages.StatusBarUpdater |
statusBarUpdater |
(package private) CorrelateGpxWithImages.StatusBarUpdater |
statusBarUpdaterWithRepaint |
(package private) ExtendedDialog |
syncDialog |
(package private) JosmTextField |
tfOffset |
(package private) JosmTextField |
tfTimezone |
(package private) double |
timezone |
(package private) GeoImageLayer |
yLayer |
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
CorrelateGpxWithImages(GeoImageLayer layer) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg0) |
private String |
formatTimezone(double timezone) |
private static Double |
getElevation(WayPoint wp) |
private int |
getLastIndexOfListBefore(List<ImageEntry> images,
long searchedTime) |
private List<ImageEntry> |
getSortedImgList() |
private List<ImageEntry> |
getSortedImgList(boolean exif,
boolean tagged)
Returns a list of images that fulfill the given criteria.
|
private int |
matchGpxTrack(List<ImageEntry> images,
GpxData selectedGpx,
long offset)
Match a list of photos to a gpx track with a given offset.
|
private int |
matchPoints(List<ImageEntry> images,
WayPoint prevWp,
long prevWpTime,
WayPoint curWp,
long curWpTime,
long offset) |
private long |
parseOffset(String offset) |
private double |
parseTimezone(String timezone) |
private CorrelateGpxWithImages.GpxDataWrapper |
selectedGPX(boolean complain) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static List<GpxData> loadedGpxData
GeoImageLayer yLayer
double timezone
long delta
ExtendedDialog syncDialog
JPanel outerPanel
JosmComboBox cbGpx
JosmTextField tfTimezone
JosmTextField tfOffset
JCheckBox cbTaggedImg
JCheckBox cbShowThumbs
JLabel statusBarText
int lastNumMatched
CorrelateGpxWithImages.StatusBarUpdater statusBarUpdater
CorrelateGpxWithImages.StatusBarUpdater statusBarUpdaterWithRepaint
CorrelateGpxWithImages.RepaintTheMapListener repaintTheMap
public CorrelateGpxWithImages(GeoImageLayer layer)
public void actionPerformed(ActionEvent arg0)
private List<ImageEntry> getSortedImgList()
private List<ImageEntry> getSortedImgList(boolean exif, boolean tagged)
exif
- also returns images with exif-gps infotagged
- also returns tagged imagesprivate CorrelateGpxWithImages.GpxDataWrapper selectedGPX(boolean complain)
private int matchGpxTrack(List<ImageEntry> images, GpxData selectedGpx, long offset)
private static Double getElevation(WayPoint wp)
private int matchPoints(List<ImageEntry> images, WayPoint prevWp, long prevWpTime, WayPoint curWp, long curWpTime, long offset)
private int getLastIndexOfListBefore(List<ImageEntry> images, long searchedTime)
private String formatTimezone(double timezone)
private double parseTimezone(String timezone) throws ParseException
ParseException
private long parseOffset(String offset) throws ParseException
ParseException