To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit b704620b authored by luroth's avatar luroth
Browse files

FIX: camera position export fixed to crs of chunk

parent a6837479
......@@ -113,7 +113,7 @@ def generate_image_masks_with_DEM():
dict_writer.writeheader()
dict_writer.writerows(rows)
chunk.exportCameras(path_masks_output + "/camera_positions_.csv", format=Metashape.CamerasFormat.CamerasFormatOPK)
chunk.exportCameras(path_masks_output + "/camera_positions_.csv", format=Metashape.CamerasFormat.CamerasFormatOPK, projection=chunk.crs)
with open(path_masks_output + "/camera_positions_.csv", 'r') as infile:
with open(path_masks_output + "/camera_positions.csv", 'w') as outfile:
csvreader = csv.reader(infile, delimiter='\t', quotechar='|')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment