photo_geotag plugin fails to Write coordinates to image header
What steps will reproduce the problem?
- Open JOSM
- Install the plugins photo_geotag and and photoadjust
- Open a set of geotagged images
- Move 5-6 of the images to a new location.
- Right click on the layer named Geotagged images
- Select Write coordinates to image header
- 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.
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
Change History
(7)
Component: |
Core → Plugin photo_geotagging
|
Resolution: |
→ irreproducible
|
Status: |
new → closed
|
@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.