# Mapillary\_tools : sequence processing issue (not a MT bug)

**URL:** <https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799>\
**Category:** Contributing and equipment\
**Created:** [April 27, 2021, 12:22pm UTC](https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799 "2021-04-27T12:22:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpsmapper](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gpsmapper/32/70818_2.png) [@gpsmapper](https://forum.mapillary.com/u/gpsmapper)\
**Post date:** [April 27, 2021, 12:22pm UTC](https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799/1 "2021-04-27T12:22:29Z")

</div>

Hi There,

have noticed that some of my sequences are positioned incorrectly after upload.

Original images are all having **correct** EXIF data.

This error just pops up for some sequences.

[Example](https://www.mapillary.com/map/im/kWsU1Y64woM960Qps0Nh5u)

If you will download original and check it’s exif, you will see it is correct.

After investigation I have discovered that error occurs during mapillary\_tools processing task.  
For some reason geotag process is recording WRONG GPS metadata in mapillary tags.

Example:  
**Original EXIF:**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/0/7/070e32f0411542b92fe4aa7763c2fcc0ade6e9e6.png)  
**Mapillary tag after processing:**  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/1/e/1e2cda8125460e0e41c6e5332f78b0c67e344f86.png)  
As you can see - latitude gets broken and reported incorrectly.

[source file](https://drive.google.com/file/d/14vp0AJlv6jEUJ35afNNAgivY72grqrsk/view?usp=sharing)  
[MT 0.6.0 processed file](https://drive.google.com/file/d/1dM5GhFYy0ptLHZH5u5S-8XlGovzUmsQG/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![gpsmapper](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gpsmapper/32/70818_2.png) [@gpsmapper](https://forum.mapillary.com/u/gpsmapper)\
**Post date:** [April 27, 2021, 5:38pm UTC](https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799/2 "2021-04-27T17:38:36Z")

</div>

Very strange… and very odd.  
Just tried Desktop uploader and legacy MT 0.5 - same issue

[Source files (original)](https://drive.google.com/file/d/1grt295zxBw7Ly5t5bVHxsHYdS-5Loky5/view?usp=sharing)

**Processing with Desktop uploader (wrong placement):**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/1/3/13d618f8c488a46abb37d7954b530bb49f36f9e6.png)

**Processing with MT 0.6.0 and uploading (wrong placement):**  
[Sequence](https://www.mapillary.com/map/im/kWsU1Y64woM960Qps0Nh5u)

**Original placement as per EXIF tags (CORRECT)**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/3/7/37206abfabff72d23616b583ab33f8c8ef6d50ae.png)

I suspect a compatibility issue with Exif data  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/8/1/81057715677d2e28b8e5b1efeb7d226e9a256cfe.png)

---

<div class="post-metadata">

**Author:** ![southglos](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@southglos](https://forum.mapillary.com/u/southglos)\
**Post date:** [April 29, 2021, 11:30pm UTC](https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799/3 "2021-04-29T23:30:25Z")

</div>

EXIF stores lat/lon as groups of three fractions. In this case the three fractions are 53/1, 0/0, 105/1024 (deg, min, sec). So there’s a division by zero in the original EXIF that’s blowing things up.

Looks to me like the camera/writing application is in the wrong, rather than the Mapillary uploader.

---

<div class="post-metadata">

**Author:** ![gpsmapper](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gpsmapper/32/70818_2.png) [@gpsmapper](https://forum.mapillary.com/u/gpsmapper)\
**Post date:** [April 30, 2021, 5:47am UTC](https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799/4 "2021-04-30T05:47:54Z")

</div>

yes, you are right , the issue is on video processing script/python module, will have closer look `next week.

---

<div class="post-metadata">

**Author:** ![gpsmapper](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gpsmapper/32/70818_2.png) [@gpsmapper](https://forum.mapillary.com/u/gpsmapper)\
**Post date:** [May 4, 2021, 10:48am UTC](https://forum.mapillary.com/t/mapillary-tools-sequence-processing-issue-not-a-mt-bug/4799/5 "2021-05-04T10:48:26Z")

</div>

issue was rectified, it was a bug (compatibility issue) on the source exif side indeed.
