Forum

Author Topic: Build Ortho from source DEM?  (Read 1998 times)

aaronfhd

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Build Ortho from source DEM?
« on: March 29, 2018, 02:01:07 PM »
If I do the process Manually I can select the source DEM, but If I look through the python scripting I do not see it there.

Am I missing somthing?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Build Ortho from source DEM?
« Reply #1 on: March 29, 2018, 02:15:09 PM »
Hello aaronfhd,

You need to use surface argument for buildOrthomosaic function:

chunk.buildOrthomosaic(surface = PhotoScan.ElevationData)
Best regards,
Alexey Pasumansky,
Agisoft LLC

aaronfhd

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Build Ortho from source DEM?
« Reply #2 on: March 29, 2018, 02:33:00 PM »
Getting Error
Name 'Photoscan' is not defined

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Build Ortho from source DEM?
« Reply #3 on: March 29, 2018, 03:28:29 PM »
Hello aaronfhd,

Do you use Photoscan or PhotoScan? The latter is correct, and you need to import PhotoScan in the beginning of the script.
Best regards,
Alexey Pasumansky,
Agisoft LLC

aaronfhd

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Build Ortho from source DEM?
« Reply #4 on: March 29, 2018, 04:11:01 PM »
Yup it was PhotoScan,

Thanks.