parameters: (reconstruction, gcp, config)
docstring: Align reconstruction with GPS and GCP data.
  
      Config parameter `align_method` can be used to choose the alignment method.
      Accepted values are
       - navie: does a direct 3D-3D fit
       - orientation_prior: assumes a particular camera orientation
docstring_summary: Align reconstruction with GPS and GCP data.
docstring_tokens: Align reconstruction with GPS and GCP data .
function: def align_reconstruction_similarity(reconstruction, gcp, config):
      """Align reconstruction with GPS and GCP data.
  
      Config parameter `align_method` can be used to choose the alignment method.
      Accepted values are
       - navie: does a direct 3D-3D fit
       - orientation_prior: assumes a particular camera orientation
      """
      align_method = config['align_method']
      if align_method == 'orientation_prior':
          return align_reconstruction_orientation_prior_similarity(
              reconstruction, config)
      elif align_method == 'naive':
          return align_reconstruction_naive_similarity(reconstruction, gcp)
function_tokens: def align_reconstruction_similarity ( reconstruction , gcp , config ) : align_method = config [ 'align_method' ] if align_method == 'orientation_prior' : return align_reconstruction_orientation_prior_similarity ( reconstruction , config ) elif align_method == 'naive' : return align_reconstruction_naive_similarity ( reconstruction , gcp )