Forum

Author Topic: How do you access total tie point number in Python  (Read 1618 times)

mks_gis

  • Newbie
  • *
  • Posts: 40
    • View Profile
How do you access total tie point number in Python
« on: August 31, 2018, 03:42:35 PM »
Hi,

 In the tie point information PS gives you y of x tie points. You can get the active number of tie points (y) by using len([i for i in chunk.point_cloud.points]). How do I access x, i.e the original number of tie points in Python, I can't find it in the reference doc?

Cheers
M.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: How do you access total tie point number in Python
« Reply #1 on: August 31, 2018, 06:40:44 PM »
Hello mks_gis,

number of valid tie points should be accessed via len(chunk.point_cloud.points) and total number of tie points via len(chunk.point_cloud.tracks).
Best regards,
Alexey Pasumansky,
Agisoft LLC

mks_gis

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: How do you access total tie point number in Python
« Reply #2 on: September 01, 2018, 04:06:06 PM »
Thanks Alexey!