Hi,
I'm trying to load a text file with coordinates for my photos. Through the GUI under the ground control panel I can just click "import" and select my .txt file and it works just fine. I'm having issues trying to get it work through a script though.
Attached is a copy of my coordinates I'm testing with.
Here is my code, any help would be appreciated.
new_chunk = PhotoScan.Chunk()
new_chunk.label = "New Chunk"
for f in files:
new_chunk.photos.add(f)
doc.chunks.add(new_chunk)
gc = new_chunk.ground_control
gc.projection = crs
gc.load("Z:\\inbound\\aaa.txt", "csv")
gc.apply()