Hi Alexey,
Here is what I would like to achieve. I have imported geotagged imagery (from an UAV) and already ran photo alignment to generate a sparse point cloud (tie points). Then I used PhotoScan's marker detection feature to automatically identify non coded markers in all images, which works fine.
Now here is what the Python script should do. When importing the real locations of the markers (which have been measured with a survey grade RTK GPS), Photoscan should automatically look for the marker that is closest to the imported location and then copy X, Y, Z to this marker. Would be great if the user could define a 'search radius threshold', e.g. if there was no marker within 5m of the imported location, then DISABLE this marker/don't import any location information.
This would eliminate the time-consuming step of manually 'linking' non coded markers with imported ground control point coordinates. Additionally, it would help to automate processing.
Thanks for your help.
Regards
SAV
P.S. Other people would also benefit from such a script. See
http://www.agisoft.com/forum/index.php?topic=6258.msg30281#msg30281