Forum

Author Topic: Setting Ground Control Coord Mode to WGS-84?  (Read 4076 times)

Aleksei

  • Newbie
  • *
  • Posts: 9
    • View Profile
Setting Ground Control Coord Mode to WGS-84?
« on: July 23, 2014, 12:53:35 AM »
I would like to be able to automatically set my PhotoScan Document to WGS-84.

How I do this through the GUI:
Ground Control Pane -> Settings -> Coordinate Mode --> WGS-84 (Defaults to local coordinates).

What is the command to do this in Python?

Thanks.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Setting Ground Control Coord Mode to WGS-84?
« Reply #1 on: July 23, 2014, 05:03:35 PM »
Hello Aleksei,

You can do the following:

Code: [Select]
crs = PhotoScan.CoordinateSystem()
crs.init("EPSG::4326")

chunk.ground_control.crs = crs
Best regards,
Alexey Pasumansky,
Agisoft LLC

Aleksei

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Setting Ground Control Coord Mode to WGS-84?
« Reply #2 on: July 24, 2014, 12:11:00 AM »
Thank you for your excellent support as always.

Aleksei.