The first prompt in the program asks the user for the name of the group containing the raster map layers to be rectified.
The user is then asked to select the map layer(s) within the group to be rectified:
Please select the file(s) to rectify by naming an output file spot.1 in demo ......... spot.2 in demo ......... spot.3 in demo ......... spotclass in demo spotrectify.. spotreject in demo ......... (Enter list by any name to get a list of existing rast files) AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE (OR <Ctrl-C> TO CANCEL)More than one raster map layer may be rectified at a time. Each raster map layer should have a unique output file name.
Next the user is asked to select one of two geographic region settings:
Please select one of the following options 1. Use the current region in the target location 2. Determine the smallest region which covers the imagei.rectify will only rectify that portion of the image that occurs within the chosen geographic region setting. Only that portion will be relocated in the target database. It is therefore important to check the current geographic region settings in the target location if choice number one is selected.
i.rectify uses a linear affine transformation:
Use i.ortho.photo for photos for which you have camera information and a DEM, or i.rectify2 if you want a 2nd or 3rd order polynomial transformation.
i.rectify will run in the background and notify the user by mail when it is finished. The process may take an hour or more depending on the size of the image, the number of files, and the size of the geographic region definition.
The rectified (raster) image will be located in the target LOCATION when the program is completed. The original unrectified raster map layers are not modified or removed.
This program is interactive and requires no command line arguments.
i.group
i.points
i.rectify2
i.target
Modified for GRASS 5.0 by:
Luca Palmeri (palmeri@ux1.unipd.it)
Bill Hughes
Pierre de Mouveaux (pmx@audiovu.com)