MerginMaps / MerginMaps/mobile

Coordinates not saved when photo is taken in portrait/landscape mode

Open
#4,168 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

android 🤖 bug camera
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

Description
When try to upload a feature and take a photo in portrait/landscape mode in the form, the coordinates are not saved. The fields lat/lon remain empty, even though they should be automatically field in.

Environment
staging
Application (+ app version, build, operating system)
App version: 2025.7.0 (build 719411)
Device/OS: Samsung Galaxy A53 5G, Android 15
Project/Map theme: tester-ws-1/tc04_recording, 'PhotoSurvey' theme

Steps to reproduce

  1. Open the project tester-ws-1/tc04_recording, 'PhotoSurvey' theme
  2. Record a new feature
  3. Take a photo using the camera in portrait/landscape orientation.
  4. Observe that lat/lon fields - they are empty.

Actual results
The coordinates fields are empty when the photo is taken in portrait/landscape orientation.

Expected results
The coordinates fields should be filled with the correct data regardless of the photo orientation.

https://github.com/user-attachments/assets/f9e93f9c-f269-4fc9-a295-d87ffe2542f4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the tester-ws-1/tc04_recording project using the 'PhotoSurvey' theme, following the listed feature-recording and portrait/landscape camera steps. Compare coordinate handling for differently oriented photos on the reported Android device; done means the lat/lon fields contain the correct data for both orientations.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.