Forum

Author Topic: layout of report PDF corrupt when using long formula  (Read 1556 times)

DominiqueDM

  • Newbie
  • *
  • Posts: 1
    • View Profile
layout of report PDF corrupt when using long formula
« on: December 18, 2020, 01:19:57 AM »
Hi

We are generating pdf Reports via the exportReport Python function.

This works fine, unless we use a long  rastertranform formula:
Metashape.RasterTransform.formula

formula=['%s*(%.8f)+(%.8f)'%(band,slope,offset) for band in bandlist]

Then everything shifts to the left and it becomes impossible to read, see attachment.
Probably due to the fact that a formula does not fit the paper format?

Issue present in 1.5 and 1.7 beta

Kind regards

Dominique
« Last Edit: December 18, 2020, 12:20:30 PM by DominiqueDM »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: layout of report PDF corrupt when using long formula
« Reply #1 on: December 18, 2020, 05:15:01 PM »
Hello Dominique,

Thank you for reporting. We'll try to fix it as soon as possible.
Best regards,
Alexey Pasumansky,
Agisoft LLC