Modify

Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#8414 closed defect (fixed)

Image with existing GPS data gets corrupted (by sanselan?)

Reported by: holgermappt Owned by: bastiK
Priority: normal Milestone:
Component: Plugin photo_geotagging Version: latest
Keywords: Cc:

Description

JOSM 5697 and plugin photo_geotagging 28807. I load the file exif-direction-example.jpg (from JOSM directory data_nodist) and a GPX track (both files attached to this ticket). Then correlate image with GPX (no offset, override position for images with geo location in exif data). Write coordinates to image header. Now the EXIF data of the file is corrupted. exiftool -Hu exif-direction-example.jpg reports
Warning: Unknown format (65535) for IFD0 tag 0x1 - exif-direction-example.jpg
and the number of EXIF fields is very short (some fields survived). I tried to comment out large portions in plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/ExifGPSTagger.java, but the error still exists. So I guess it is related to sanselan. The plugin uses a sanselan version from 2009. It is interesting that the last release is from 2009, but there are recent updates of the source code.

Attachments (3)

test_full.gpx (615 bytes ) - added by anonymous 11 years ago.
GPX track
exif-direction-example.jpg (227.1 KB ) - added by anonymous 11 years ago.
Original image
exif-direction-example_corrupted.jpg (227.1 KB ) - added by anonymous 11 years ago.
Corrupted image after correlation with GPX track and EXIF update

Download all attachments as: .zip

Change History (6)

by anonymous, 11 years ago

Attachment: test_full.gpx added

GPX track

by anonymous, 11 years ago

Attachment: exif-direction-example.jpg added

Original image

by anonymous, 11 years ago

Corrupted image after correlation with GPX track and EXIF update

comment:1 by grinapo, 11 years ago

Let me phrase it more generally: all kinds of pre-existing EXIF information gets corrupted by large. Basically this plugin must not be used if anyone values their EXIF tags.

comment:2 by holgermappt, 9 years ago

Resolution: fixed
Status: newclosed

This was fixed with the change of the sanselan library in [o30803].

comment:3 by grinapo, 9 years ago

Indeed this seems to be fixed now just fine. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bastiK.
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.