.TH gm_georect 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME gm_georect \- GEORECTIFY TOOL (gis.m) GEORECTIFY TOOL (gis.m) .SH GEORECTIFY TOOL (gis.m) In order to use and overlay different forms of geospatial data in a GIS, they must use the same coordinate systems and be projected identically. The Georectify Tool uses multiple GRASS modules to \fIgeorectify\fR spatial data (map or image) that is not originally coded in an earth-based coordinate system (e.g., latitude/longitude or UTM). The Georectify Tool can transform the simple x/y coordinates of the original data by shifting, rotating, and warping them as needed for the original data to match other georectified data from the same location on earth. .br .br The basic procedure is to identify a set of \fIground control points\fR (GCPs) in the ungeorectified data. The georectified coordinates for the points are identified. A mathematical transformation is calculated by regressing the original x/y coordinates against the georectified coordinates for the same points. This transformation is then applied to all the data. .br .br The Georectify Tool can georectify both raster and vector maps. Raster maps can be transformed using 1st, 2nd, and 3rd order polynomial transformations; vector maps are transformed only with a 1st order polynomial transformation. The georectified coordinates of GCPs can be entered by typing or can be extracted by clicking the equivalent locations with a mouse in a displayed georectified map. .br .SS Using the Georectify Tool .SS Map Preparation The unrectified map or image (e.g., scanned image or CAD drawing) must be imported into a GRASS XY location. .br .br In order to be georectified, the unrectified map or image must be added to a \fIimagery group\fR. An \fIimagery group\fR holds a single map/image or a set of maps/images that represent different views of exactly the same locale. All maps or images in a single \fIimagery group\fR must be exactly aligned (e.g., as in the different spectral bands of a multi-channel satellite image or layers of a single CAD drawing). You can create an \fIimagery group\fR from within the Georectify Tool if desired. .br .br .SS Setup Restart GRASS, selecting the location/mapset where you want the map you will georectify to END UP (i.e., the projected TARGET location). Open any map display (or displays) that you want to use for extracting geographic coordinates by clicking with a mouse. Make sure that the computational region extents and resolution are set to the values you want for the newly georectified map. .PP Select \fI\fBGeorectify\fR\fR from the \fI\fBFile\fR\fR menu. .PP The Georectify Tool startup lets you select the type of map to georectify, the location/mapset of the map to georectify, the \fIimage group\fR of the map to georectify, and a map to use for marking GCPs. .br .br ..IP .IP \fB1\fR click the radio button to georectify either raster or vector maps (you can only georectify raster \fBOR\fR vector maps in a single georectification session), .IP \fB2\fR select the source (XY) location/mapset of the map to be georectified, .IP \fB3\fR if needed, create an \fIimagery group\fR for the map to georectify. (the \fIimagery group \fBtarget\fR\fR is automatically set to the current location and mapset), .IP \fB4\fR select the \fIimagery group\fR containing the map to georectify, .IP \fB5\fR select the map/image to display for marking GCPs interactively (a raster or vector in the group you want to georectify), .IP \fB6\fR click the "\fBStart Georectifying\fR" button to begin marking GCPs. .PP .SS GCP Marking This opens a special map display with an ungeorectified map to use for marking GCPs, and a GCP manager window. The GCP map display can be zoomed and panned like a normal map display. .br .br .br The GCP manager window holds the x/y coordinates and geographic coordinates of each GCP, and displays the \fIerror\fR for each GCP (i.e., the distance that the actual GCP marked deviates from its expected placement using a transformation equation). .br .br .br ..IP .IP \fB1\fR Click in an empty x/y entry box in the GCP manager to begin marking a new GCP, .IP \fB2\fR Click on the ungeorectified map to mark a GCP and automatically enter its x/y coordinates in the entry box. (Your cursor will automatically jump to the corresponding geographic coordinate entry box for the same GCP), .IP \fB3\fR Enter the corresponding geographic coordinates for the GCP \fBOR\fR click on the same place in a georectified map (in a normal map display) to automatically extract the geographic coordinates and enter them into the geographic coordinate entry box in the GCP manager window (Note: use the \fBpointer tool\fR in the map display window) .PP .SS \fBGCP Management\fRContinue marking GCPs until you have enough for an accurate georectification. At least 3 GCPs are needed for a simple 1st order (affine) transformation that can shift and rotate a map; at least 6 GCPs are needed for a 2nd order (polynomial) transformation that will do simple warping in addition to shifting and rotating; at least 10 GCPs are needed for a 3rd order (polynomial) transformation that will do complex warping. .br Any GCP can be edited by typing new values or by selecting the appropriate entry box and clicking on the GCP-marking display or georectified map display. .br GCPs can be excluded and not used for calculating the transformation equation or the total RMS error by unchecking the box in the "use" column at the left of each GCP entry line. Only active GCPs (i.e., with the "use" box checked) will be used for computing the georectification and total error. .br You can delete all inactive GCPs (i.e., with unchecked "use" boxes) by clicking the \fBeraser tool\fR in the GCP manager tool bar. .br Total \fIRMS (\fRroot mean square) error is calculated from all active GCPs. Click the \fBRMS tool\fR in the GCP manager tool bar to update the total RMS error after changing or including/excluding a GCP. Excluding a GCP with an especially high individual error can reduce overall RMS error, but will also change the individual errors of all other GCPs. The lower the RMS error, the more accurate the final georectification will be. .br .br All active GCPs can be saved to a \fIPOINTS\fR file, associated with the \fIimagery group\fR for the map(s) to be georectified. If a saved \fIPOINTS\fR file exists, prior to a georectification session the GCP values in the \fIPOINTS\fR file will automatically be entered into the GCP manager window when a georectification session is started. .br .SS Georectification When you are satisfied with your selection of GCPs and RMS error... .br ..IP .IP \fB1\fR Select the type of georectification you want to perform (1st, 2nd, or 3rd order for rasters; 1st order only for vectors). Remember, at least 3 points are needed for 1st order georectification, 6 points for 2nd order, and 10 points for 3rd order. .IP \fB2\fR Press the \fBGeorectification button\fR on the GCP manager tool bar. Depending on the number of cells in a raster map or nodes in a vector map, georectification may take some time. .PP .SH SEE ALSO \fI gis.m manual .br gis.m: ANIMATION TOOL .br gis.m: PROFILE TOOL .br .br i.points .br i.vpoints .br i.rectify .br g.proj .br g.setproj .br m.proj .br r.proj .br v.proj \fR .SH AUTHORS Michael Barton, Arizona State University, Tempe, Arizona, USA .PP \fILast changed: $Date: 2009-09-12 17:51:39 +0200 (Sat, 12 Sep 2009) $\fR .PP Full index