1
Python and Java API / programatically set coordinates of automatically detected ground control markers
« on: August 22, 2014, 11:05:17 AM »
Hi there,
I'm trying to set the coordinates of my detected groudn control markers programmatically, and it's not working.
Here's the code I'm using:
chunk.detectMarkers('12bit',95)
for marker in chunk.markers:
gcl = PhotoScan.GroundControlLocation(chunk,marker)
if marker.label == "target 373":
print("setting coord for marker 373")
gcl.coord = {357694.233,5609773.51639,227.900330}
The detection does work, the coordinate setting not. What do I need to change?
I'm trying to set the coordinates of my detected groudn control markers programmatically, and it's not working.
Here's the code I'm using:
chunk.detectMarkers('12bit',95)
for marker in chunk.markers:
gcl = PhotoScan.GroundControlLocation(chunk,marker)
if marker.label == "target 373":
print("setting coord for marker 373")
gcl.coord = {357694.233,5609773.51639,227.900330}
The detection does work, the coordinate setting not. What do I need to change?