Skip to content

GPS Altitude is not aware of globalization #332

@lordofscripts

Description

@lordofscripts

Version (please complete the following information):

  • OS: Linux Debian 12
  • Version Debian 12
  • Package DEB

Describe the bug
I entered the geolocation information in the Edit data | GPS tab but when I click on Save to selected image (whether it is one of several selected images), nothing happens.
I double check with an external script that dumps EXIF data and location and it has NOT been written.
I am editing the Lat/Long/Altitude and XMP/IPTC Location data.

To Reproduce
Steps to reproduce the behavior:

  1. Launch application & Load folder
  2. Click on any photo from left pane
  3. Right pane select Exif Data
  4. Select GPS tab
  5. Enter Latitude/Longitude/Altitude
  6. Enter Location, Country, State, City
  7. With the image selected click on Save to selected image(s) button

Extra Info

My locale is set to Eng_US and I noticed you are Dutch. It appears to me your program isn't fully aware of locales. Here is why...

When I PASTE the altitude info from the Map coordinates.net site into the altitude field, the application automatically formats the altitude with a COMMA as thousands separator, while in my locale it is a PERIOD. I noticed it gave an exception when it tries to parse that value.

But once it is with the correct separator, it writes the info but complains with:

Warning: error converting value for User data:Gps coordinates (OrintConvInt)

But it writes the wrong altitude anyway.The field in the app should use a decimal format as per the current locale, not European number format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions