Forum

Author Topic: DEM pickPoint using 2 points on same vertical  (Read 1282 times)

Paulo

  • Hero Member
  • *****
  • Posts: 1489
    • View Profile
DEM pickPoint using 2 points on same vertical
« on: January 15, 2025, 09:34:01 AM »
Hello,

I am trying to do a DEM pickPôint with 2 points pt1 and pt2 with pt2 1 m higher than pt1 and same X Y.

The DEM is about 3 m higher than pt2. However pickPoint returns None....

Any idea why this is so?
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15397
    • View Profile
Re: DEM pickPoint using 2 points on same vertical
« Reply #1 on: January 15, 2025, 04:55:53 PM »
Hello Paul,

We'll check, why it doesn't work for identical XY values, but I think you can add 0.000000001 to either coordinate in any of two points to make it work.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1489
    • View Profile
Re: DEM pickPoint using 2 points on same vertical
« Reply #2 on: January 15, 2025, 06:40:29 PM »
Thank you Alexey,

however adding this small value to one of the points, still DEM.pickPoint doesn't give a result...
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15397
    • View Profile
Re: DEM pickPoint using 2 points on same vertical
« Reply #3 on: January 17, 2025, 06:30:49 PM »
Hello Paul,

Can you check the result on your project, when at least origin point is above the DEM?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1489
    • View Profile
Re: DEM pickPoint using 2 points on same vertical
« Reply #4 on: January 18, 2025, 01:04:13 AM »
Hi Alexey,

I tested again with 2 points over and below DEM on vertical and pickPoint gives nan Vector..
Best Regards,
Paul Pelletier,
Surveyor