#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)
Change History (6)
Changed 10 years ago by
Attachment: | test_full.gpx added |
---|
Changed 10 years ago by
Attachment: | exif-direction-example_corrupted.jpg added |
---|
Corrupted image after correlation with GPX track and EXIF update
comment:1 Changed 10 years ago by
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 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was fixed with the change of the sanselan library in [o30803].
GPX track