Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong date in exported GPX #343

Open
paulgodard opened this issue Nov 7, 2022 · 8 comments
Open

Wrong date in exported GPX #343

paulgodard opened this issue Nov 7, 2022 · 8 comments

Comments

@paulgodard
Copy link

I have been using OSMTracker for Android for many years with no issue.

I am currently traveling in Angola and creating a track log every day. When the track log is named it has the correct date but when it is closed and I open it, the date recorded inside is totally wrong. For example, for a track log is created on 7 nov 2022, the date inside is 24 mar 2003! (see a tracklog gpx)

I need to change the inside date in order to match with photos taken at the same time. How can I do that? I urgently need to find a way to do that… please help me.

I also would like to see how I can correct this issue. So please help me there too.

@Binnette Binnette changed the title OSMTracker for android records wrong date inside log file Wrong date in exported GPX Nov 23, 2024
@ulrike-k
Copy link

ulrike-k commented Dec 4, 2024

I have a similar issue, but in the other direction. The exported date in the gpx file is fine, but when I take pictures in the OSMTracker for Android, they get a wrong date. Example here from a waypoint with a picture today, 2024-12-04. The foto date and time was set on 2005-04-20:

<wpt lat="45.82652331351823" lon="16.027750526646795">
		<ele>176.2255644133115</ele>
		<time>2024-12-04T08:48:12Z</time>
		<name><![CDATA[Photo (8.0m)]]></name>
		<cmt><![CDATA[compass heading: 289.7724609375deg
			compass accuracy: 3]]></cmt>
		<link href="2005-04-20_10-48-14.jpg">
			<text>2005-04-20_10-48-14.jpg</text>
		</link>
	</wpt>

I can not figure out, if this is an issue of OSMtracker for Android (v2024.07.09) or of my mobile phone (Samsung Galaxy S10, Android 9.0). I am also very happily and satisfied using this App for many years, and the problem occured first time in september this year, when the storage place of the exported data changed to Android/data/net.osmtracker/files/osmtracker instead of being before directly in the internal storage.
Does anybody has an idea how to solve this? Thanks in advance!

@Andyporras
Copy link

Hi @paulgodard, thank you for reporting this issue and providing detailed examples. I wanted to let you know that this bug has been fixed in the current developer version of OSMTracker. If you are interested, you can test the developer version to verify that the issue is resolved. Please let me know if you need guidance on how to access it.

@Andyporras
Copy link

Hi @ulrike-k, I appreciate your detailed report and the example provided. After reviewing this issue, I found that the bug causing incorrect dates in the exported GPX files and images has already been addressed in the current developer version of OSMTracker. It would be great if you could test it and confirm whether it resolves the problem on your device. Let me know if you need help accessing the developer version.

@Andyporras
Copy link

Likewise, here is the apk, of the current version of the developer branch:
app-debug.zip

@ulrike-k
Copy link

ulrike-k commented Dec 6, 2024

Likewise, here is the apk, of the current version of the developer branch: app-debug.zip

Hi @Andyporras, thank you for your feedback. I tried to install the developer version you sent, but after successful start of the installation unfortunately I get only the error message "App not installed".

@jer194
Copy link

jer194 commented Dec 6, 2024

Probably you need to uninstall the old version first; see also: #466

@ulrike-k
Copy link

ulrike-k commented Dec 7, 2024

Thank you, @jer194. Since I have hundreds of OSM-tracker tracks and special button layouts on my mobile, I installed the developer version for the test on another phone. And I can happily confirm that the issue with the wrong date on the pictures is solved :).
Great that you also implemented back that the exported gpx file including the pictures is saved in internal storage/documents and not anymore in Andoid/data/net.osmtracker/files. Now they appear after export again in the gallery which wasn't the case in the version v2024.07.09. On the other hand it seems, that the pictures are now in the newest version saved in both places.
However, thank you for the help, my issue is solved!

@Andyporras
Copy link

Hi @ulrike-k , thank you for confirming that the issue with the wrong date on pictures is resolved and for testing the developer version on another phone. I am glad that the changes made to the application have been useful, I will keep trying to fix these small bugs in the future, with the help of the other contributors of the Project, Please feel free to share any additional feedback or concerns. I'm happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants