| 1 |
<!-- meta page description: Projections and spatial transformations in GRASS--> |
| 2 |
<h3>Projection management in general</h3> |
| 3 |
|
| 4 |
A GRASS project is referenced with a single projection and coordinate system |
| 5 |
(or unreferenced as XY project). When creating a new project from an existing |
| 6 |
raster or vector map using the tools available from the startup screen or |
| 7 |
the map import commands, projection and coordinate system are defined. |
| 8 |
To change the projection of maps, a new project has to be created and |
| 9 |
the desired maps have to be reprojected into it from the source project |
| 10 |
as explained below. |
| 11 |
|
| 12 |
<h3>Reprojecting raster maps</h3> |
| 13 |
|
| 14 |
Rasters are reprojected using the raster projection tool |
| 15 |
<em><a href="r.proj.html">r.proj</a></em>. |
| 16 |
The tool is used in the target project to "pull" a map from its source project. |
| 17 |
Both projects need to have a projection defined, |
| 18 |
i.e., they cannot be XY (unprojected). |
| 19 |
|
| 20 |
<h3>Raster map transformation</h3> |
| 21 |
|
| 22 |
To transform an unprojected map from a XY project into a projected |
| 23 |
project (or another XY project), a forward transformation is performed. |
| 24 |
The unreferenced map is geocoded within the XY project by defining |
| 25 |
four corner points or by seeking several ground control points |
| 26 |
(<a href="i.group.html">i.group</a>, <a href="i.target.html">i.target</a>, |
| 27 |
<a href="g.gui.gcp.html">g.gui.gcp</a>) and then transformed into the |
| 28 |
target project (<a href="i.rectify.html">i.rectify</a>). Polynomial |
| 29 |
transformation of 1st, 2nd and 3rd order are supported. |
| 30 |
<p> |
| 31 |
A graphical user interface is provided by <a href="wxGUI.html">wxGUI</a>. |
| 32 |
<p> |
| 33 |
To simply translate a raster map (without stretching or rotation), the |
| 34 |
<a href="r.region.html">r.region</a> command can be used. |
| 35 |
|
| 36 |
|
| 37 |
<h3>Vector map projections</h3> |
| 38 |
|
| 39 |
Vectors are reprojected using the vector projection tool |
| 40 |
<em><a href="v.proj.html">v.proj</a></em>. |
| 41 |
The tool is used in the target project to "pull" a map from its source project. |
| 42 |
Both projects need to have a projection defined, |
| 43 |
i.e., they cannot be XY (unprojected). |
| 44 |
|
| 45 |
<h3>Vector map transformation</h3> |
| 46 |
|
| 47 |
To transform an unprojected map (e.g. CAD map) into projected coordinates, |
| 48 |
a forward transformation is performed. The unreferenced map is imported |
| 49 |
into the project with projection and geocoded within this project by |
| 50 |
defining four corner points or by seeking several ground control points. |
| 51 |
These points are stored into an ASCII file and then transformed within |
| 52 |
the same project (<a href="v.transform.html">v.transform</a>). |
| 53 |
|
| 54 |
Alternatively, <a href="v.rectify.html">v.rectify</a> rectifies a vector |
| 55 |
by computing a coordinate transformation for each object in the vector |
| 56 |
based on the control points. |
| 57 |
<p> |
| 58 |
A graphical user interface is provided by <a href="wxGUI.html">wxGUI</a>. |
| 59 |
|
| 60 |
<h3>References</h3> |
| 61 |
|
| 62 |
<ul> |
| 63 |
<li> <a href="https://www.asprs.org/asprs-publications/grids-and-datums">ASPRS Grids and Datum</a></li> |
| 64 |
<li> <a href="http://geotiff.maptools.org/proj_list/">Projections Transform List</a> (PROJ)</li> |
| 65 |
<li> <a href="https://proj.org/operations/index.html">Coordinate operations</a> by PROJ (projections, conversions, transformations, pipeline operator)</li> |
| 66 |
<li> <a href="https://mapref.org">MapRef - The Collection of Map Projections and Reference Systems for Europe</a></li> |
| 67 |
<li> <a href="https://www.crs-geo.eu/">Information and Service System for European Coordinate Reference Systems - CRS</a></li> |
| 68 |
</ul> |
| 69 |
|
| 70 |
<h3>See also</h3> |
| 71 |
|
| 72 |
<ul> |
| 73 |
<li><a href="rasterintro.html">Introduction into raster data processing</a></li> |
| 74 |
<li><a href="raster3dintro.html">Introduction into 3D raster data (voxel) processing</a></li> |
| 75 |
<li><a href="vectorintro.html">Introduction into vector data processing</a></li> |
| 76 |
<li><a href="imageryintro.html">Introduction into image processing</a></li> |
| 77 |
<li><a href="temporalintro.html">Introduction into temporal data processing</a></li> |
| 78 |
<li><a href="databaseintro.html">Database management</a></li> |
| 79 |
</ul> |