mapillary_tools icon indicating copy to clipboard operation
mapillary_tools copied to clipboard

New Featuree: Geotag actual JPG images as well as creating mapillary_image_description.json

Open Uzver123 opened this issue 7 months ago • 2 comments

Can use GoPro video to generate mapillary_image_description.json, but there's no way to tag actual images with GPS coordinates, please add this feature.

Could be very handy to write geotags from mapillary_image_description.json into the JPG images, to simplify the organizational process:

  • in case i misplace .json - images will have the necessary geodata.
  • i walk trails and i want to upload trail data, sometimes i go wrong way and have to turn back then i get double images for same parts of the trail, if there are GPS tags inside images i can check my trail before i upload and delete duplicate images.

Uzver123 avatar May 31 '25 20:05 Uzver123

This actually not necessary if video already has GPMF or similar geo data embedded, however if using a workflow like this say for GoPro Max:

mapillary_tools video_process --video_sample_distance -1 --video_sample_interval 2 --geotag_source gopro_videos --filetypes image E:\GoPro\GS010603.360

mapillary_tools sample_video --video_sample_distance -1 --video_sample_interval 2 E:\GoProOut\GS010603.mp4

rename folder .mp4 to .360

mapillary_tools process --filetypes image --geotag_source gopro_videos --geotag_source_path E:\GoPro\GS010603.360 E:\GoProOut\mapillary_sampled_video_frames\GS010603.360

then JPG's produced do not have GPS tagging in EXIF. however will have a generate mapillary_image_description.json with GPS tags.

Uzver123 avatar Jun 03 '25 08:06 Uzver123

Doesn't the mapillary_tools command line switch --overwrite_all_EXIF_tags already do this? I read the EXIF locally for extracting lat/lot to paste into the OSMiD for editing. ie the overhead/map view appears on the same screen as the ground view image. Works fine.

bob3bob3 avatar Jun 22 '25 19:06 bob3bob3