Sort JPG from VIRB by EXIF to directories according OSM tiles

I was in need of a tool that chunks my big load of JPG files from my Garmin VIRB to sequences of a reasonable size (not just 1000 pictures each sequence). So i coded this Python3 script to sort pictures to new directories according to the OSM map tiles of zoom level 12 (ca. 5 km border length, can be changed).
https://github.com/moenk/mapillary-tools/blob/master/python3/exifsort3.py
Now it is easy for me to find pictures of a given area after a long trip. Also as this results in sequences of 200 to 300 pictures they can easily uploaded as a sequence with the Mapillary command line tools afterwards.

2 Likes