Forum

Author Topic: Object coordinates  (Read 6092 times)

DoraZ

  • Newbie
  • *
  • Posts: 4
    • View Profile
Object coordinates
« on: January 25, 2017, 05:32:41 PM »
Hi!
When I flew over an object with my DJI Phantom4 drone, camera coordinates were geographical (phi, lambda). Then I measured points on the land with my GPS device, but in local system of our country (x,y coordinates). Now I am interested: how do I "transform" camera coordinates into markers coordinates?
I have a picture of a problem. I want my camera coordinates to be just like these in a red rectangle. Can anyone help me please?

spiegel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Object coordinates
« Reply #1 on: January 25, 2017, 07:05:45 PM »
load photos, click "convert" in the reference-pane and choose the wanted system

DoraZ

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Object coordinates
« Reply #2 on: January 26, 2017, 12:29:20 AM »
I did and nothing happened, camera coordinates are still in the phi, lambda coordinate system. But I didn't load photos, they already are loaded in the project, because I needed them to build a mesh..
So I don't have "new" data that I need to transform, I need to do it with an existing data.
Hope you inderstand :)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15703
    • View Profile
Re: Object coordinates
« Reply #3 on: January 26, 2017, 11:47:10 AM »
Hello DoraZ,

To transform the coordinates in the Reference pane from one system to another it is necessary to use Convert button on the toolbar in the Reference pane (providing that transformation between two coordinate systems is possible).

In the version 1.2 it should be performed before loading markers, since all coordinates in the Reference pane will be converted accordingly. So I can suggest to do the following:
- export markers to XML file using Tools Menu -> Export Markers option,
- remove all markers from the project,
- switch the coordinate system in the Reference pane settings dialog back to WGS84,
- use Convert button on the Reference pane and select desired coordinate system,
- import markers from the file back to the project.

But please note that altitude values written by DJI may be incorrect - by default PhotoScan expects height above ellipsoid for the coordinate systems, unless different vertical datum is used.

Also in case you are not going to use the camera position data anyhow (leave cameras unchecked in the Reference pane), you do not need to convert the coordinates, as coordinates of unchecked instances wouldn't be used.
Best regards,
Alexey Pasumansky,
Agisoft LLC