This program is used to automatically create a control point file which can be used to convert an image from one map projection to another. The conversion of a map projected image requires several steps. The first is to create the control points using this program. Then use the control points as input to the program TFGEN or TFWGEN (recommended) to create a transformation file which will warp the image into the new projection. Finally, use the transformation file as input to the program GEOM to actually create the newly projected image.
Files
This program requires as input one unsigned 8-bit , or one signed 16-bit , or one 32-bit floating point image. In addition, the image will have projection information stored in the label file. The program will produce a control point file, with a user specified number of control points, that can be used as input to the programs TFGEN or TFWGEN.
LINECTL and SAMPCTL
These parameters are used to define the number of control points to create in the line and sample directions, respectively. Note, the total number of control points that will be created is LINECTL x SAMPCTL. The default is 20 for both parameters which will create 400 control points.
Examples
This is the image file input into the program MAPCONTROL. It is a grid in a Sinusoidal projection.
This is the grid in a Mercator projection obtained by using the control point file produced by MAPCONTROL in conjunction with the programs TFGEN and GEOM.