Forum

Author Topic: Exporting multiple orthomosaics in a chunk  (Read 1300 times)

Paulo

  • Hero Member
  • *****
  • Posts: 1320
    • View Profile
Exporting multiple orthomosaics in a chunk
« on: July 15, 2022, 09:18:19 PM »
Hello,

I have a chunk with many orthomosaics (only one as default). I want to loop thru all the orthomoasics in the chunk, activate it (set as default) export it then go to next, activate and export.

How do I activate (set as default) an orthomosaic in a chunk with API?

Help will be appreciated...

PS I found the solution myself...to activate or set as default a given ortho you just:
Code: [Select]
for ortho in chunk.orthomosaics:
     chunk.orthomosaic = ortho
It was that simple....
« Last Edit: July 16, 2022, 01:41:33 AM by Paulo »
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Exporting multiple orthomosaics in a chunk
« Reply #1 on: July 18, 2022, 06:58:13 PM »
Hello Paul,

Similar approach works for depth maps sets, dense clouds, mesh models, tiled models and DEMs. And also for animation camera tracks.
Best regards,
Alexey Pasumansky,
Agisoft LLC