Hi!
I found a problem with exporting original coordinates.
When I export original coordinates it does not calculate in global shift correctly. All the exported coordinates have negative sign. if I modify global shift and if I delete minus before x an y in global shift then the exportation is correct.
I tried this out in version 2.5.4.1 and beta 2.5.5.
[FIXED] Global shift- problem with original coordinates
Re: Global shift- problem with original coordinates
In which format are you exporting data? Ascii?
Daniel, CloudCompare admin
-
- Posts: 16
- Joined: Wed Nov 27, 2013 3:39 pm
- Location: Strasbourg, France
Re: Global shift- problem with original coordinates
Hello,
I encountered the same problem using Edit -> Global Shift. It seems that Cloud Compare inverts the sign of original coordinates with positive sign. The solution I use is to invert the sign of the xyz coordinates, just put a minus in front, when you enter them in Global Shift. Then you can save your point cloud in ASCII format and the coordinates should be positive again if you read them in another program or reopen them in Cloud Compare (which will automatically do the conversion).
I encountered the same problem using Edit -> Global Shift. It seems that Cloud Compare inverts the sign of original coordinates with positive sign. The solution I use is to invert the sign of the xyz coordinates, just put a minus in front, when you enter them in Global Shift. Then you can save your point cloud in ASCII format and the coordinates should be positive again if you read them in another program or reopen them in Cloud Compare (which will automatically do the conversion).
Re: Global shift- problem with original coordinates
I can't reproduce the bug (not with the 2.5.4.1 at least).
Are you sure you don't misinterpret the 'shift' meaning? The shift vector is the one applied to the data when they are loaded. If the cloud is around X = 520 000, the xShift = -520 000. And when saving the file, CC will compute 'xLocal - xShift'.
Are you sure you don't misinterpret the 'shift' meaning? The shift vector is the one applied to the data when they are loaded. If the cloud is around X = 520 000, the xShift = -520 000. And when saving the file, CC will compute 'xLocal - xShift'.
Daniel, CloudCompare admin
-
- Posts: 16
- Joined: Wed Nov 27, 2013 3:39 pm
- Location: Strasbourg, France
Re: Global shift- problem with original coordinates
It seems that Cloud Compare inverts the signs of xyz coordinates or even rotation angle, including in the latest released version 2.5.5.2
For example if my original xyz UTM coordinates are :
633 170,05
5 388 211,63
107,38
In Menu Edit -> Global shift and scale, just type them with a minus in front, and it will be saved as positive when you export in ASCII format
- 633 170,05
- 5 388 211,63
- 107,38
Analogically, for a rotation angle, in Menu Edit -> Apply transformation -> Axis, Angle tab, activate the check box "Apply Inverse transformation"
For example if my original xyz UTM coordinates are :
633 170,05
5 388 211,63
107,38
In Menu Edit -> Global shift and scale, just type them with a minus in front, and it will be saved as positive when you export in ASCII format
- 633 170,05
- 5 388 211,63
- 107,38
Analogically, for a rotation angle, in Menu Edit -> Apply transformation -> Axis, Angle tab, activate the check box "Apply Inverse transformation"
Re: Global shift- problem with original coordinates
Yes the only way to export them correctly was when I deleted the minus sign in global shift.
Re: Global shift- problem with original coordinates
yes ASCII formatdaniel wrote:In which format are you exporting data? Ascii?
Re: Global shift- problem with original coordinates
Do you reproduce this bug with the new version (2.5.5.2)?
Daniel, CloudCompare admin
Re: Global shift- problem with original coordinates
can you give me the link to last version?
the problem is when I export picked points in the cloud.
MatBo
the problem is when I export picked points in the cloud.
MatBo
Re: Global shift- problem with original coordinates
Well the latest version is on the website: http://www.cloudcompare.org/release (v2.5.5.2).
But I didn't understood that you were speaking of picked points. I'll check this right away.
But I didn't understood that you were speaking of picked points. I'll check this right away.
Daniel, CloudCompare admin