Support Website Contact Support Blog

Correct altitude in image metadata, incorrectly read by Pix4D Mapper

The DSMs produced from images from my Mavic Air are always in the negative by a few tens of meters.

These used to be processed on Pix4D cloud. My first time to process on Pix4D mapper, the same thing happens. However, the Mapper shows you more things and I noticed that it was incorrectly reading the image metadata. On the file itself, the altitude is correct (50 meters), but when imported for processing, the software reads it all as 1.2 meters. See image below.

So when the data set is processed, negative surface elevations will be the result. The bandaid solution is to manually correct the altitude on mapper before it starts processing, but this is only feasible for a small data set and not for data with hundreds of images. How can this be corrected automatically?

Hi @chinouichanco,

Could you please share here with us one picture from your dataset? We’ll examine the EXIF file.

Thank you in advance.

Uploading the file results in error. Please find a link to the file below.

As follow up, I ran the data with the corrected altitude from the image metadata and the products were good.

1 Like

Thank you.

For DJI drones, we read the XMP Absolute Altitude tag. In your case, there is +1.20.

While the correct value is in EXIF GSP Altitude tag.

For datasets like this, you can edit the altitude of all the images together in the Image Properties Editor to 50m by:

  1. Right-click one cell of the column.
  2. Click Edit All Altitudes / Horz. Accuracies / Vert. Accuracies .
  3. Type the new value.
  4. Click Enter or click outside the cell.


1 Like

Hi Beata,

Thank you for this. A couple of follow-up questions:

  1. Is there a way to correct the value showing up in the XMP Absolute Altitude tag? Is this an error with the drone firmware or GPS?
  2. Motivating the first question, is a difference of 0.1 or 0.2 meters in altitude negligible? The Edit All Altitude function looks like a quick and easy fix, but the GPS altitudes of the input images vary. Most are 50.0, but a handful are 49.8 and 49.9.


Thank you for your reply.

  1. Yes, this value can be wrong due to firmware issues. Could you update the firmware and let me know how it goes?
  2. It depends on the Vertical Accuracy you defined in the Image Properties Editor. If the altitude varies by 10, 20 cm. Set at least 25 cm in Accuracy Vert.


Hi Beata,

The DJI app tells me that the firmware is updated. So I’m at a loss as to how to possibly fix that issue.



@chinouichanco, we could have a deeper look into the issue, but we would need at least 3 images to create a project and information which app did you used to acquire the images.

Let me know if you are willing to send them to us.