Ignore:
Timestamp:
2015-02-10T22:59:09+01:00 (10 years ago)
Author:
bastik
Message:

applied #josm11059 - Remove new GPS data flag, do not use gpsTime (patch by holgermappt)

Location:
applications/editors/josm/plugins/photo_geotagging
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/photo_geotagging/build.xml

    r30962 r30967  
    33
    44    <!-- enter the SVN commit message -->
    5     <property name="commit.message" value="write elevation to EXIF (see josm #7710)"/>
     5    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="8041"/>
    88
    99    <property name="plugin.author" value="Paul Hartmann"/>
  • applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java

    r30887 r30967  
    6868             /* Only write lat/lon to the file, if the position is known and
    6969                the GPS data changed. */
    70             if (e.getPos() != null && (e.hasNewGpsData() || e.hasGpsTime())) {
     70            if (e.getPos() != null && e.hasNewGpsData()) {
    7171                images.add(e);
    7272            }
     
    238238
    239239                    cleanupFiles();
     240                    e.unflagNewGpsData();
    240241
    241242                } catch (final IOException ioe) {
     
    391392    private boolean enabled(GeoImageLayer layer) {
    392393        for (ImageEntry e : layer.getImages()) {
    393             if (e.getPos() != null && (e.hasNewGpsData() || e.hasGpsTime()))
     394            if (e.getPos() != null && e.hasNewGpsData())
    394395                return true;
    395396        }
Note: See TracChangeset for help on using the changeset viewer.