Modify

Opened 15 months ago

Last modified 10 months ago

#20487 new enhancement

Image/photo viewer used with gpx display does not use auto-rotation, but image viewer for geo-tagged images does it

Reported by: Rainero Owned by: team
Priority: normal Milestone:
Component: Core image mapping Version:
Keywords: Cc: Strubbl

Description

Use case:

  • record a gpx trace with osmtracker and take some pictures.
  • copy the folder from osmtracker to the hard disk; it contains one gpx file and one or more photos which have rotation information in exif data
  • in JOSM go to File -> Open and open the gpx file: the gpx trace is displayed and the photo(s) represented by icons at their geo location
  • click on one of these icons -> the photo will be displayed in a pop up window, but it is not rotated as indicated in the exif data

However if you:

  • in JOSM go to File -> Open and open the photo(s), they will be displayed in a different kind of window and auto-rotation is working (and furthermore the zoom functionality is better)

The enhancement request is now to use this better image/photo viewer window also in case when the gpx file is loaded.

If you want to enhance even more, a button for manual rotation (besides the zoom button) would be nice for those users who have a set of geotagged images (maybe by a script), but with missing rotation info in exif.

I upload a tiny gpx trace with just one photo in portrait format (a tar.gz of the folder that was created in osmtracker).

Attachments (1)

osmtracker_2021-01-13_09-29-20.tar.gz (3.6 MB) - added by Rainero 15 months ago.
osmtracker folder with 1 gpx file and 1 photo (portrait format that needs rotation)

Change History (7)

Changed 15 months ago by Rainero

osmtracker folder with 1 gpx file and 1 photo (portrait format that needs rotation)

comment:1 Changed 15 months ago by Rainero

Comment:
I checked for existing tickets and found #5605, #8189 and #10962, but I think they are not about the same issue.

comment:2 in reply to:  description Changed 15 months ago by skyper

If I get this right we are talking about the marker layer with thumbnail and the minimized image viewer. The general geoimage viewer works.

Replying to Rainero:

Comment:
I checked for existing tickets and found #5605, #8189 and #10962, but I think they are not about the same issue.

Mmh, is #10962 not the same?

Replying to Rainero:

The enhancement request is now to use this better image/photo viewer window also in case when the gpx file is loaded.

Actually, I do not understand why we have the two different layers (markers and geotagged images) with different behavior. How is it useful?

If you want to enhance even more, a button for manual rotation (besides the zoom button) would be nice for those users who have a set of geotagged images (maybe by a script), but with missing rotation info in exif.

+1, in fact this is #8189.
I sometime have no or wrong information if my GPS is not fixed right after booting or taking pictures in a tunnel. Lying on the ground and taking pictures to the sky like a vertical wall/cliff can produce wrong information.

comment:3 Changed 15 months ago by Strubbl

Cc: Strubbl added

comment:4 Changed 15 months ago by Rainero

With #10962 I was not sure, whether ThumbsLoader is the viewer that is used for dispay of pictures that are loaded with the gpx file. I don't know about JOSM internal names.

Yes skyper, the case of invalid exif orientation flags that you describe is very probable, even with a smartphone; I didn't think of such, good comment.

comment:5 Changed 15 months ago by skyper

Component: CoreCore image mapping

comment:6 Changed 10 months ago by richlv

Perhaps can be merged with #8189?

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 Rainero
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.