Forum

Author Topic: Switch to absolute palette  (Read 7843 times)

picare

  • Newbie
  • *
  • Posts: 33
    • View Profile
Switch to absolute palette
« on: August 31, 2023, 06:29:00 PM »
Hi,

For a DEM, it is possible to set a palette with a command like that:
Quote
chunk.elevation.palette={-0.15: (50, 50, 222),-0.075: (50, 222, 222),0.0: (50, 222, 50),0.075: (222, 222, 50),0.15: (222, 50, 50)}

But I am not able to find the property or command to switch these altitudes values as absolutes values. It is possible in the interface but how to do it with python?


Thanks,

Pierre

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15366
    • View Profile
Re: Switch to absolute palette
« Reply #1 on: August 06, 2024, 11:42:40 AM »
Hello Pierre,

In 2.1.3 pre-release (build 18670) we have added  Elevation.palette_absolute_values attribute that should allow to use palette set in absolute values for export.
Best regards,
Alexey Pasumansky,
Agisoft LLC

picare

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: Switch to absolute palette
« Reply #2 on: August 06, 2024, 12:16:25 PM »
Thank you, it will be very usefull !