Support Website Contact Support Blog

error uploading mtp file to pix4dmatic

I am attempting to process a several thousand image data set and have uploaded the images and gcps. When I attempt to upload the mtp file I receive the error “1 column missing at line 1”

According to https://support.pix4d.com/hc/en-us/articles/202558539-Input-files#label5
the format is - imagename, GCP/Manual Tie Pointlabel, image coordinate x, image coordinate y, (optional) zoom level, (optional) image directory.

my format according to the above -
LPBMuangGowBlk01M2P0012.jpg,gcp02,1995.2015494733,1270.184708377
LPBMuangGowBlk01M2P0013.jpg,gcp02,3737.3648096664,2312.538576775

throws an error.
These mtps are not imported from pix4d but have been generated by another program. It is a csv .txt file.

What am I missing?
Thanks

@itenviro thanks for explaining the problem and providing an example. Are you looking to import Ground Control Points (GCPs) marks or Manual Tie Points (MTPs) marks?

The answer will be slightly different depending on your answer. You mention “mtp file”, but the example you shared has the tie points with names “gcp02”. For the sake of being complete, I’ll answer both cases.

  • In the current version 1.20.0, PIX4Dmatic supports the import of GCP marks, but does not support the import of Manual Tie Points (MTP) marks.

  • I exported marks from an existing PIX4Dmatic project I have, the differences with your example are that the full image path is included in the marks file for each image. Furthermore, the “.jpg” is written “.JPG”. Also, the file is in the “.txt” file format. Here is an example line of that .txt file:

C:\Users\prothenb\Documents\Pix4Dmatic\Pix4Dmatic_example_1469_images\Images_subset_1469\IX-11-65428_0182_1404.JPG,cp18,713.339,12.625,1

That said:

  • PIX4Dmatic will support import of MTP marks in the next release (1.21.0) planned for beginning of November. This means one can import both GCP and MTP marks either independently or together from then on.

  • The format and import logic will slightly change. I will ask our support team to document the specs of these mark files in more detail.

Hope this helps! Let me know if it worked out. If it didn’t, please provide an example file.

Out of curiosity, why do you create marks in a third party software? Can you say more about which one it is and what’s the advantage versus marking directly in PIX4Dmatic?

Thank you!

Pierangelo Rothenbühler Pierangelo_Rothenbuhler Product Manager for PIX4Dmatic
October 25

@itenviro thanks for explaining the problem and providing an example. Are you looking to import Ground Control Points (GCPs) marks or Manual Tie Points (MTPs) marks?

The answer will be slightly different depending on your answer. You mention “mtp file”, but the example you shared has the tie points with names “gcp02”. For the sake of being complete, I’ll answer both cases.

  • In the current version 1.20.0, PIX4Dmatic supports the import of GCP marks, but does not support the import of Manual Tie Points (MTP) marks.

  • I exported marks from an existing PIX4Dmatic project I have, the differences with your example are that the full image path is included in the marks file for each image. Furthermore, the “.jpg” is written “.JPG”. Also, the file is in the “.txt” file format. Here is an example line of that .txt file:

C:\Users\prothenb\Documents\Pix4Dmatic\Pix4Dmatic_example_1469_images\Images_subset_1469\IX-11-65428_0182_1404.JPG,cp18,713.339,12.625,1

That said:

  • PIX4Dmatic will support import of MTP marks in the next release (1.21.0) planned for beginning of November. This means one can import both GCP and MTP marks either independently or together from then on.

  • The format and import logic will slightly change. I will ask our support team to document the specs of these mark files in more detail.

Hope this helps! Let me know if it worked out. If it didn’t, please provide an example file.

Out of curiosity, why do you create marks in a third party software? Can you say more about which one it is and what’s the advantage versus marking directly in PIX4Dmatic?

Thank you!

@itenviro I have the impression something went wrong when you posted your last comment. You seem to have copied my answer, but I can’t see any additional elements in it?