Modify

#23720 closed defect (invalid)

Geotagged images within same second show in reverse order

Reported by: pbb Owned by: team
Priority: normal Milestone:
Component: Core image mapping Version:
Keywords: template_report Cc:

Description (last modified by pbb)

What steps will reproduce the problem?

  1. Load a number of geotagged images, with some of them taken within the same second but with different fractional second (eg 00:00:00.1 and 00:00:00.9).
  2. Browse through the images using the geotagged images viewer, using the Previous and Next buttons.
  3. Notice how the for the images within the same second, the last image is shown first and after that the first image.

What is the expected result?

Images within the same second, but with different subseconds, should display in the correct order.

What happens instead?

The last image is shown first, and the first image last.

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

I am taking many photos for Mapillary and Panoramax. This involves taking large numbers of geotagged photos about every 1-2 seconds. Because of processing delays, it regularly happens to photos are timestamped within the same second (though they have different subseconds).

Loading these photos in JOSM, they are displayed at the correct location, and with the correct timestamp (though the geotagged photos viewer only displays whole seconds). But using the Next/Previous buttons, it is clear they are not in the correct order.

The situation becomes even more interesting when the images to a GPX file (right-click on the Geotagged Images layer to export) and loading that back into JOSM; it seems that in the GPX track the locations of some of the images are swapped, causing the GPX track to also go back and forth.

Browsing the images in GeoSetter shows no problem, but loading the GPX track in GeoSetter also shows the back and forth.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-06-03 18:08:14 +0200 (Mon, 03 Jun 2024)
Revision:19096
Build-Date:2024-06-04 01:31:15
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19096 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 22H2 (19045)
Memory Usage: 1264 MB / 2020 MB (111 MB allocated, but free)
Java version: 21.0.2+13-58, Oracle Corporation, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djosm.cache=<josm.pref>\cache, -Djosm.userdata=<josm.pref>, -Djosm.pref=<josm.pref>]
Dataset consistency test: No problems found

Plugins:
+ ImproveOsm (247)
+ Mapillary (3904)
+ PicLayer (1.0.3)
+ apache-commons (36176)
+ ejml (36176)
+ geotools (36176)
+ jackson (36176)
+ jaxb (36118)
+ jts (36004)
+ opendata (36256)
+ photo_geotagging (36178)
+ photoadjust (36200)
+ reverter (36256)
+ tageditor (36258)
+ turnlanes-tagging (0.0.5)
+ turnrestrictions (36226)
+ undelete (36226)
+ utilsplugin2 (36241)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00001.148 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF'
- 00001.151 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00001.152 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00007.184 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00007.653 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00028.178 W: Region [TMS_BLOCK_v2] : Problem verifying disk.

Attachments (7)

test.gpx (1.8 KB ) - added by pbb 11 months ago.
GPX track that jumps back and forth in JOSM only
2024_05_29_09_11_15_039_+0200.jpg (1.4 MB ) - added by pbb 11 months ago.
2024_05_29_09_11_15_946_+0200.jpg (1.0 MB ) - added by pbb 11 months ago.
2024_05_29_09_11_17_071_+0200.jpg (1.0 MB ) - added by pbb 11 months ago.
2024_05_29_09_11_17_941_+0200.jpg (1.2 MB ) - added by pbb 11 months ago.
2024_05_29_09_11_18_776_+0200.jpg (1.1 MB ) - added by pbb 11 months ago.
2024-06-08 02_46_46-_ Java OpenStreetMap Editor.png (558.2 KB ) - added by pbb 11 months ago.
JOSM screenshot

Change History (9)

by pbb, 11 months ago

Attachment: test.gpx added

GPX track that jumps back and forth in JOSM only

comment:1 by pbb, 11 months ago

Description: modified (diff)

by pbb, 11 months ago

JOSM screenshot

comment:2 by pbb, 11 months ago

Resolution: invalid
Status: newclosed

Okay, closer inspection shows that in all situations, the image shown as last but taken first, seemingly has incomplete Exif data. Especially the SubSecTime value is interesting.

2024_05_29_09_11_15_039_+0200.jpg: SubSecTime=111
2024_05_29_09_11_15_946_+0200.jpg: SubSecTime=0807
(As reported by ExifTool)

Now the question is of course; should a leading zero here be discarded or not? If the value needs to be interpreted as a string being pasted after a decimal comma, then it shouldn't. But if the value should be interpreted as an integer, then it should. Reading Wikipedia (https://en.wikipedia.org/wiki/Exif#Time_Tags) I deduct that the leading 0 should be significant, though it seems like the Mapillary app wanted the zero to be discarded.

I conclude this is not a bug in JOSM, but in the Mapillary app creating the images.

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.