Hi all,
Excuse me for the question but i'm not very able with python!
I got the vector coordinate (UTM32) with this part of scipt converted in string:
doc = Metashape.app.document
chunk = doc.chunk
cor = str (chunk.crs.project (chunk.transform.matrix.mulp (chunk.region.center)))
print (cor)
I can see in output this:
Vector ([519249.1224876235, 5040138.770116413, 131.04726993710898])
Now i would to transform the output without the characters "Vector (]" decimals and commas to this exactly string:
519249.000 5040138.000 131.000
and finally print the result to txt file
Anyone can help me to complete the script
Thanks in advanced
Andrea