updated: 26-Nov-2009

 Copan for Windows

Coordinate Transformations

  1. Transforming Coordinates by Parameters
  2. Transforming Coordinates by Control Points
A set of points from an open coordfile can be geometrically transformed either In each case, rotations are always about a vertical axis.

From the Calculation menu, choose Transform Coords, then either By Parameters or By Control Points.

1. Transforming Coordinates by Parameters

You can specify up to seven plus two parameters of an affine transformation. The seven affine transformation parameters are a rotation, three scales, and a 3D shift. The additional two parameters are the 2D coordinates of a point that is fixed with respect to rotation and scale.

To Transform by Parameters

  1. Calculation | Transform Coords... | By Parameters...
  2. Optionally Load... a transformation Parameters file.
  3. Enter the fixed point number or the Northing and Easting of a point about which the rotation should pivot or from which the scaling should occur.
  4. For a Rotation, enter the angle (+ve clockwise).
  5. For a Scale change,
  6. For a Shift, enter either a shift expression (see § Shift Expressions) or the Northing, Easting and Elevation values to be added.
  7. Optionally Save the Transformation parameters file for later reuse.
  8. Choose which Points to transform: All of them or Filter... a subset (See § Point Filters).
  9. Transform or OK. The sequence will be rotation, scale, then shift.
  10. Optionally Reverse transform the points. This performs the specified transformation in reverse (so effectively acts as an Undo button).

The Transform by Parameters tool allows you to specify the following: a fixed point number or fixed coordinates for the rotation and shift, a rotation angle, a uniform scale or differential scales (which can be composed of a units factor and a projection scale factor), a pair of point numbers or shift coordinates for a translation, and which set of points to transform.click for larger view

Notes

2. Transforming Coordinates by Control Points

Suppose you have a set of points to transform from one coordinate system, the source system, to another, the target system. You can estimate a best-fit transformation between specified lists of control points — points whose coordinates are available in both systems — then do the transformation.

The estimation is by least-squares and can be for

The rotation and scale (if present) are with respect to an arbitrary 2D centroid.

To Transform by Control Points

  1. Calculation | Transform Coords... | By Control Points...
  2. Optionally Load... a Control Points file.
  3. For each Source Control Point, enter the # and Add.
  4. Do the same for each Target Control Point, ensuring that corresponding points are in the same order.
  5. Select whatType of transformation: Rigid-body or Similarity.
  6. Estimate the Parameters.
  7. Optionally Save... the Control Points for later reuse.
  8. Optionally Save... the Parameters for later use in Transform by Parameters.
  9. Choose which Source points to transform: All of them or Filter... a subset (See § Point Filters). Target points are automatically protected so will not get transformed.
  10. Transform or OK.
  11. Optionally Reverse transform the points. This performs the specified transformation in reverse (so effectively acts as an Undo button).

The Transform by Control Pairs tool allows you to specify the following: pairs of From and To control points, whether to estimate a rigid-body transformation or a similarity transformation, and which set of points to then transform.click for larger view

The Transformation Control Point Pairs File Format

This plain text (or ascii) file has
Example: Transformation control point pairs file.
Source  Target
2       1002
3       1003
4       1004 

Notes

updated: 26-Nov-2009