kartaview / upload-scripts

Uploader tools for KartaView
MIT License
61 stars 30 forks source link

Unable to generate exif for metadata version 3.0.0 #95

Closed InsertUser closed 2 years ago

InsertUser commented 4 years ago

I am able to write exif data to (old) files with a metadata file starting: HMD Global Nokia 7.1;9;1.1.6;2.7.4;photo

but not HMD Global Nokia 7.2;9;1.1.6;3.0.0;video or HMD Global Nokia 7.2;9;1.1.6;3.0.0;photo (after manually extracting and renaming frames from the mp4s).

Overwriting the first line of the track.txt file with the 2.7.4 header appears to give reasonable EXIF results that can be read by e.g. JOSM and XnView.

Usage in WSL shell on Windows 10: python3 osc_tools.py generate_exif -p "/mnt/c/.../"

salabogdan commented 4 years ago

@InsertUser, can you please provide the metadata file? This way we can debug your problem.

salabogdan commented 2 years ago

Closing this issue because since then I have updated the metadata parser and it should now properly handle the newer OSC metadata file versions. https://github.com/kartaview/upload-scripts/pull/110