Forum

Author Topic: import scalebar distance  (Read 2253 times)

negreiro

  • Newbie
  • *
  • Posts: 3
    • View Profile
import scalebar distance
« on: July 23, 2018, 06:36:32 PM »
Hello, we have a drone mapping experiment of agricultural field with 26 markers. We are using then mainly as scalebars, since no precision GPS is available at this time.
We have a list of the scalebars and their value and would like to import this list in Photoscan.
How can this be achieved?
We have tried the reference menu button ("import refrence data from file") without success.
The scalebars can be exported using the reference menu, however we were unable to import those values. The exported scalebar file is attached.  Any help is appreciated.

negreiro

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: import scalebar distance
« Reply #1 on: July 24, 2018, 08:52:31 AM »
We were able to create a python script to import the scalebars from a csv file, based on this post (http://hairystickman.co.uk/photoscan-scale-bars/). I am attaching the updated script and csv file for future reference in case anyone has a similar problem.

jwallace

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: import scalebar distance
« Reply #2 on: August 29, 2020, 09:27:53 AM »
This was really useful for me!
Thank you for sharing.

Kind regards,
James Wallace