1
General / Re: Shapes changed on different projection
« on: September 06, 2023, 11:47:42 AM »
I have the same issue on Metashape Pro 2.0.2 (it was working fine on 1.8.4).
If I create a shape (polygon) on one orthomosaic, and then another shape on a second orthomosaic, the first shape changes.
The shape's geometry changes as well as the shapes projection matrix :
Is this a bug or is there something I'm missing ?
If I create a shape (polygon) on one orthomosaic, and then another shape on a second orthomosaic, the first shape changes.
The shape's geometry changes as well as the shapes projection matrix :
Code: [Select]
chunk.shapes.projection.matrix
Out[7]: 2023-09-06 10:32:33
2023-09-06 10:32:33 Matrix([[1.0, 0.0, 0.0, -4.190819334493266],
2023-09-06 10:32:33 [0.0, 0.0, 1.0, 15.660437452109326],
2023-09-06 10:32:33 [0.0, -1.0, 0.0, 2.7672848891498756],
2023-09-06 10:32:33 [0.0, 0.0, 0.0, 1.0]])
chunk.shapes[0].geometry
Out[8]: 2023-09-06 10:32:36 <Geometry 'Polygon ((-11.2238 -1.36733, -10.7282 -2.45776, -8.94382 -2.60645, -3.04561 -2.35863, 17.6229 0.565698, 17.5733 1.35874, -11.2238 -1.36733))'>
chunk.shapes.projection.matrix
Out[9]: 2023-09-06 10:32:47
2023-09-06 10:32:47 Matrix([[1.0, 0.0, 0.0, -4.190819334493266],
2023-09-06 10:32:47 [0.0, 1.0, 0.0, -2.7672848891498756],
2023-09-06 10:32:47 [0.0, 0.0, 1.0, 15.660437452109326],
2023-09-06 10:32:47 [0.0, 0.0, 0.0, 1.0]])
chunk.shapes[0].geometry
Out[10]: 2023-09-06 10:32:51 <Geometry 'Polygon ((-11.2238 0, -10.7282 0, -8.94382 0, -3.04561 0, 17.6229 0, 17.5733 0, -11.2238 0))'>
Is this a bug or is there something I'm missing ?