Forum

Author Topic: Issue with importing *.pts file.  (Read 1830 times)

Ungrim

  • Newbie
  • *
  • Posts: 11
  • dron-em.pl
    • View Profile
    • dron-em.pl
Issue with importing *.pts file.
« on: January 08, 2021, 01:11:38 PM »
I have an issue. When I try to import *.pts file to Metashape it loads only part of it. Cloud has square shape and about 4kk points and it loads only about 1/8 of it. It loads point cloud correctly referenced in correct place but only part of it. Why?


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14816
    • View Profile
Re: Issue with importing *.pts file.
« Reply #1 on: January 08, 2021, 01:22:20 PM »
Hello Ungrim,

Do you observe any similar behavior for the smaller point clouds? And what is the size of the original PTS file?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Ungrim

  • Newbie
  • *
  • Posts: 11
  • dron-em.pl
    • View Profile
    • dron-em.pl
Re: Issue with importing *.pts file.
« Reply #2 on: January 08, 2021, 01:35:57 PM »
It is 127mb and I never tried to load pts file before. But way bigger *.las files was imported without any issue.

I am trying to import it at clean, saved project. When I erase half of the file it loads same fragment. Metashape says file size is 8.27mb.

Update: I've cut down file to 100 points. After import, dense cloud shows 648k points.
« Last Edit: January 08, 2021, 02:20:11 PM by Ungrim »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14816
    • View Profile
Re: Issue with importing *.pts file.
« Reply #3 on: January 08, 2021, 03:37:05 PM »
Hello Ungrim,

Can you please share the original PTS file via file transfer service to support@agisoft.com, so that we can try to reproduce the problem on our side?
Also please specify the coordinate system used for import.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Ungrim

  • Newbie
  • *
  • Posts: 11
  • dron-em.pl
    • View Profile
    • dron-em.pl
Re: Issue with importing *.pts file.
« Reply #4 on: January 08, 2021, 03:48:51 PM »
I've sent a mail. Thank you!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14816
    • View Profile
Re: Issue with importing *.pts file.
« Reply #5 on: January 08, 2021, 04:41:44 PM »
Hello Ungrim,

Thank you for sending the sample file.

It appears that the file is not correctly written in PTS format - the first line should contain the number of points in file, whereas in your file it is missing and Metashape is using the first coordinate value 649985 as the number of points and imports the first points from the file below this limit.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Ungrim

  • Newbie
  • *
  • Posts: 11
  • dron-em.pl
    • View Profile
    • dron-em.pl
Re: Issue with importing *.pts file.
« Reply #6 on: January 08, 2021, 05:00:16 PM »
Thank you so much, it works perfectly now!