Note: This document is for an older version of GRASS GIS that has been discontinued. You should upgrade, and read the current manual page.
Projections and spatial transformations in GRASS GIS
A GRASS location is referenced with a single projection and coordinate system
(or unreferenced as XY location). When creating a new location from an existing
raster or vector map using the tools available from the startup screen or
the map import commands, projection and coordinate system are defined.
To change the projection of maps, a new location has to be created and
the desired maps have to be reprojected into it from the source location
as explained below.
Raster maps are backward projected in GRASS. This means that the
user has to run the raster projection command (
r.proj)
in the target location and "pull" the map from the source location.
Both locations need to have a projection defined.
To transform an unprojected map from a XY location into a projected
location (or another XY location), a forward transformation is performed.
The unreferenced map is geocoded within the XY location by defining
four corner points or by seeking several ground control points
(
i.group,
i.target,
g.gui.gcp) and then transformed into the
target location (
i.rectify). Polynomial
transformation of 1st, 2nd and 3rd order are supported.
A graphical user interface is provided by wxGUI.
To simply translate a raster map (without stretching or rotation), the
r.region command can be used.
Vector maps are backward projected in GRASS. This means that the
user has to run the vector projection command (
v.proj)
in the target location and "pull" the map from the source location.
Both locations need to have a projection defined.
To transform an unprojected map (e.g. CAD map) into projected coordinates,
a forward transformation is performed. The unreferenced map is imported
into the location with projection and geocoded within this location by
defining four corner points or by seeking several ground control points.
These points are stored into an ASCII file and then transformed within
the same location (
v.transform).
Alternatively,
v.rectify rectifies a vector
by computing a coordinate transformation for each object in the vector
based on the control points.
A graphical user interface is provided by wxGUI.
SOURCE CODE
Available at:
Projections and spatial transformations in GRASS GIS source code
(history)
Latest change: Thursday Dec 07 10:02:51 2023 in commit: d8f26f0ddb61b6208663cc5dd861d651a66eadfa
Main index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2024
GRASS Development Team,
GRASS GIS 8.3.3dev Reference Manual