Forum

Author Topic: Add/subtract a constant value to a column - camera - reference tab  (Read 68 times)

max72

  • Newbie
  • *
  • Posts: 7
    • View Profile
The request mainly applies to altitude. You can set a constant value to a column/set, but it would be nice to be able to add/subtract a constant number to all the values in a column.
We have a lot of altitude options, and they are all used by different public entities.
To adapt to a certain datum it would be enough to be able to vertically shift the image coordinates derived from a ppk flight.
Thanks in advance,
Massimo

Paulo

  • Hero Member
  • *****
  • Posts: 1301
    • View Profile
Re: Add/subtract a constant value to a column - camera - reference tab
« Reply #1 on: March 16, 2024, 12:44:10 AM »
Hi max,

for altitude. I think the following script would do the trick for you https://github.com/agisoft-llc/metashape-scripts/blob/master/src/add_altitude_to_reference.py
Best Regards,
Paul Pelletier,
Surveyor

max72

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Add/subtract a constant value to a column - camera - reference tab
« Reply #2 on: March 21, 2024, 07:29:20 PM »