Modify

Opened 4 years ago

Closed 3 years ago

#18710 closed defect (irreproducible)

photo_geotag plugin fails to Write coordinates to image header

Reported by: simonmikkelsen-dk Owned by: team
Priority: normal Milestone:
Component: Plugin photo_geotagging Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Install the plugins photo_geotag and and photoadjust
  3. Open a set of geotagged images
  4. Move 5-6 of the images to a new location.
  5. Right click on the layer named Geotagged images
  6. Select Write coordinates to image header
  7. In the dialog, press OK without changing anything.

What is the expected result?

A dialog shows the status of writing headers to the images headers. Image headers are updated.
This will happen until the error has occured, after which the error will occur every time.

What happens instead?

Noting happens. In the console
java.lang.reflect.InvocationTargetException
is printed, with no extra stacktrace.

When this error happens the error will occur every time. The error may happen on the first attempt to save images or after 2-3 successfull saves.
Only solution is to restart JOSM which will discard all changes to images.

Please provide any additional information below. Attach a screenshot if possible.

Attached are some of the files I am trying to change position of. I only change it 10-30 meters.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-02-01 01:10:57 +0100 (Sat, 01 Feb 2020)
Build-Date:2020-02-01 00:12:46
Revision:15806
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15806 en) Linux Ubuntu 18.04.3 LTS
Memory Usage: 1671 MB / 1762 MB (1121 MB allocated, but free)
Java version: 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08, Private Build, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-20ubuntu0.1
fonts-noto: fonts-noto:-

Plugins:
+ BuildingGeneralization (23)
+ apache-commons (35092)
+ buildings_tools (35248)
+ photo_geotagging (35313)
+ photoadjust (35313)
+ terracer (35248)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Error reading EXIF from file: com.drew.metadata.MetadataException: Tag 'GPS Latitude' has not been set -- check using containsTag() first

Attachments (4)

PANO_IMG_20190223_130003.JPG (4.1 MB ) - added by anonymous 4 years ago.
PANO_IMG_20190223_130006.JPG (4.2 MB ) - added by simonmikkelsen-dk 4 years ago.
PANO_IMG_20190223_130009.JPG (4.4 MB ) - added by simonmikkelsen-dk 4 years ago.
PANO_IMG_20190223_130013.JPG (4.4 MB ) - added by simonmikkelsen-dk 4 years ago.

Change History (7)

by anonymous, 4 years ago

by simonmikkelsen-dk, 4 years ago

by simonmikkelsen-dk, 4 years ago

by simonmikkelsen-dk, 4 years ago

comment:1 by Don-vip, 4 years ago

Component: CorePlugin photo_geotagging

comment:2 by Bjoeni, 3 years ago

@Simon, can you still reproduce this issue with the current versions of JOSM and the plugin? It works for me with the images you provided.
Might have been fixed since #20341.

comment:3 by Bjoeni, 3 years ago

Resolution: irreproducible
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.