Compute Tie Points (Data Management)

Summary

Computes the tie points between the overlapped mosaic dataset items. The tie points can then be used to compute the adjustments for the mosaic dataset.

Usage

Syntax

ComputeTiePoints_management (in_mosaic_dataset, control_points_features, {similarity}, {in_mask_dataset}, {out_image_feature_points})
ParameterExplanationData Type
in_mosaic_dataset

The input mosaic dataset that will be used to create tie points.

Mosaic Layer; Mosaic Dataset
control_points_features

The output control point table. This table will contain the tie points that were created by this tool.

Feature Class
similarity
[similarity,...]
(Optional)

Choose the tolerance level for your matching tie points.

  • LOWThe similarity tolerance for the matching pairs will be low. This option will produce the most matching pairs, but some of the matches may have a higher level of error.
  • MEDIUMThe similarity tolerance for the matching pairs will be medium. This is the default.
  • HIGHThe similarity tolerance for the matching pairs will be high. This option will produce the least number of matching pairs, but each matching pair will have a lower level of error.
string
in_mask_dataset
(Optional)

A mask will exclude any tie points from being generated in the areas that overlap with the input mask layer.

Feature Layer
out_image_feature_points
(Optional)

The output image feature points table. This will be saved as a polygon feature class. This output can be quite large.

Feature Class

Code Sample

ComputeTiePoints example 1 (Python window)

This is a Python sample for the ComputeTiePoints tool.

import arcpy
arcpy.ComputeTiePoints_management("\\srvr\wksp\compTiePts.gdb\md", \
                                  "\\srvr\wksp\compTiePts.gdb\outCP", \
                                  "MEDIUM", "\\srvr\wksp\mask.shp", \
                                  "\\srvr\wksp\compTiePts.gdb\outFP")
ComputeTiePoints example 2 (stand-alone script)

This is a Python script sample for the ComputeTiePoints tool.

#===========================
#Compute Tie Points
'''Usage: ComputeTiePoints_management(in_mosaic_dataset, control_points_features, 
                                      {MEDIUM | LOW | HIGH}, {in_mask_dataset}, 
                                      {out_image_feature_points})
'''

try:
    import arcpy
    arcpy.env.workspace = "C:/Workspace"

    #Compute tie points for mosaic dataset items
    mdname = "computetiepnt.gdb/md"
    controlpnt = "C:/workspace/outcontrolpnt.shp"
    similarity = "MEDIUM"
    inmask = "C:/workspace/mask.shp"
    outpnt = "C:/workspace/outfeat.shp"

    arcpy.ComputeTiePoints_management(mdname, controlpnt, similarity, inmask,
                                      outpnt)

except:
    print "Compute Tie Points example failed."
    print arcpy.GetMessages()

Environments

Related Topics

5/7/2015