Forum

Author Topic: loading ground control csv  (Read 2981 times)

MCSQRD

  • Newbie
  • *
  • Posts: 8
    • View Profile
loading ground control csv
« on: October 02, 2012, 07:53:15 PM »
I am trying to load the attached csv with
GC = PhotoScan.GroundControl(chunk)
GC.load("CameraXYZ.csv","csv")
but no coordinates show up in the ground control panel
Is there an example csv and code some where?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 9034
    • View Profile
Re: loading ground control csv
« Reply #1 on: October 02, 2012, 09:44:47 PM »
Hello MCSQRD,

Have you tried the following script line?

Code: [Select]
chunk.ground_control.load("D:/CameraXYZ.txt","csv")
Best regards,
Alexey Pasumansky,
AgiSoft LLC

MCSQRD

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: loading ground control csv
« Reply #2 on: October 03, 2012, 01:13:12 AM »
I was able to get it to work, my definition of a csv and the file I used are pretty far apart. I would call the file I used a "tab" delimited file. Attached is the file that is working with:
chunk.ground_control.load("C:/_Workspace/CameraXYZ.txt","csv")
I knew it was something simple.