Forum

Author Topic: .obj change coordinate system  (Read 7251 times)

MINE

  • Newbie
  • *
  • Posts: 16
    • View Profile
.obj change coordinate system
« on: June 03, 2014, 02:33:04 PM »
Hi all,

I need to import a mesh in an obj file into PS, which is saved in a local coordinate system.

Is it possible in PS to move the mesh to match the UTM 32N coordinate system by tieing some of the vertices in the mesh to specific coordinates??

Thanks

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: .obj change coordinate system
« Reply #1 on: June 03, 2014, 04:44:20 PM »
Hello MINE,

In principle, if you have exact coordinates in UTM of some certain model vertices, it is possible to calculate transformation matrix for coordinate conversion from local coordinates into UTM.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MINE

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: .obj change coordinate system
« Reply #2 on: June 03, 2014, 04:53:34 PM »
Hello Alexey,

Yes, that is true, but I don't know how to apply the transformation to the mesh, so its position matches the photos and the GCP's in PS.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: .obj change coordinate system
« Reply #3 on: June 03, 2014, 05:13:59 PM »
Hello MINE,

To estimate the transformation from one coordinate system to another it is necessary to know coordinates of the same point in both coordinate systems. Coordinates in local system of mesh vertices may be derived from OBJ file, but do you have the coordinate information for corresponding points in UTM?
Best regards,
Alexey Pasumansky,
Agisoft LLC

MINE

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: .obj change coordinate system
« Reply #4 on: June 03, 2014, 05:25:13 PM »
Hello Alexey,

I initially created the mesh in PS working in UTM and then exported it and altered it in another program. I then saved it in obj, but it wasn't possible to save it in UTM, so it is saved in a local coordinate system instead. This means that I do know the UTM position of some of the vertices.

I now need to put it back in PS and then use the vertices with known position to place the mesh in its original position in UTM so it is still correctly positioned compared to the GCPs and the photos I used when I created the mesh originially, so I can use these to create an orthophoto.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: .obj change coordinate system
« Reply #5 on: June 03, 2014, 05:45:53 PM »
Hello MINE,

And why you have to switch from local to UTM? In case another application you were using is not able to work with big values (X and Y coordinates of UTM projection), you can use Shift fields in model Export/Import dialog  to subtract the same big value from all the vertices coordinates (to shift the model).
Best regards,
Alexey Pasumansky,
Agisoft LLC