projectionintro(1grass)
π Projections and Spatial Transformations in GRASS π
okay bestie, pull up a chair, because this is the projectionintro(1grass) page and it is literally the glow-up guide for your coordinate systems β¨
π Projection Management in General π
A GRASS project is referenced with a single projection and coordinate system (or it can be unreferenced, i.e. an XY project). No cap.
When you create a new project from an existing raster or vector map β using the tools on the startup screen or the map import commands β projection and coordinate system get defined right there. Periodt.
But the way that you change the projection of maps? You can't just yassify a map in place, babes. You have to create a new project and reproject the desired maps into it from the source project, as explained below. π«
π°οΈ Reprojecting Raster Maps π°οΈ
Rasters get reprojected with the raster projection tool r.proj. It's a target-project girlie: you run it inside the target project and it "pulls" a map from its source project. π
β οΈ Both projects need to have a projection defined β they cannot be XY (unprojected). Not negotiable, fr fr.
πΈ Raster Map Transformation πΈ
To transform an unprojected map from a XY project into a projected project (or into another XY project), a forward transformation is performed. The unreferenced map is geocoded within the XY project by defining four corner points or by seeking several ground control points (i.group, i.target, g.gui.gcp), and then it's transformed into the target project (i.rectify).
Polynomial transformation of 1st, 2nd and 3rd order is supported. Slay. π
A graphical user interface is provided by wxGUI. π₯οΈβ¨
And if you just wanna translate a raster map β no stretching, no rotation, just vibes and a little shimmy β the r.region command is your girl. π
π§ Vector Map Projections π§
Vectors get reprojected with the vector projection tool v.proj. Same energy as before: it's used in the target project to "pull" a map from its source project.
β οΈ Again bestie: both projects need a projection defined. They cannot be XY (unprojected). π«
π¦ Vector Map Transformation π¦
To transform an unprojected map (think a CAD map, iconic) into projected coordinates, a forward transformation is performed. The unreferenced map is imported into the project with projection, and geocoded within this project by defining four corner points or by seeking several ground control points. Those points are stored into an ASCII file, and then transformed within the same project (v.transform). ποΈ
Alternatively, v.rectify rectifies a vector by computing a coordinate transformation for each object in the vector based on the control points. Main character behaviour, honestly.
A graphical user interface is provided by wxGUI. π₯οΈπ
π References π
- ASPRS Grids and Datum
- Projections Transform List (PROJ)
- Coordinate operations by PROJ (projections, conversions, transformations, pipeline operator)
- MapRef - The Collection of Map Projections and Reference Systems for Europe
- Information and Service System for European Coordinate Reference Systems - CRS
π See Also π
- Introduction into raster data processing
- Introduction into 3D raster data (voxel) processing
- Introduction into vector data processing
- Introduction into image processing
- Introduction into temporal data processing
- Database management
πΎ SOURCE CODE πΎ
Available at: Projections and spatial transformations in GRASS source code (history)
Accessed: Friday May 08 10:38:23 2026
Main index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's a wrap, gorgeous π«Ά this whole thing is shipping with GRASS 8.5.0, last touched by the source-code girlies on Friday May 08 10:38:23 2026 β go reproject something and make it everybody's problem ππ
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms