Modify

Opened 4 days ago

Last modified 2 days ago

#18710 new defect

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 days ago.
PANO_IMG_20190223_130006.JPG (4.2 MB) - added by simonmikkelsen-dk 4 days ago.
PANO_IMG_20190223_130009.JPG (4.4 MB) - added by simonmikkelsen-dk 4 days ago.
PANO_IMG_20190223_130013.JPG (4.4 MB) - added by simonmikkelsen-dk 4 days ago.

Change History (5)

Changed 4 days ago by anonymous

Changed 4 days ago by simonmikkelsen-dk

Changed 4 days ago by simonmikkelsen-dk

Changed 4 days ago by simonmikkelsen-dk

comment:1 Changed 2 days ago by Don-vip

Component: CorePlugin photo_geotagging

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to simonmikkelsen-dk
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.