m.transform(1)
π m.transform β the GRASS GIS bestie coordinate glow-up π
okay so this is m.transform(1), straight out of the GRASS GIS User's Manual (8.4.2, she's current β¨). Sit down, hydrate, because we're computing a coordinate transformation based on the control points and honestly? it's giving main character.
πΈ NAME πΈ
m.transform β computes a coordinate transformation based on the control points. no cap, that's the whole job. π
π KEYWORDS π
miscellaneous, transformation, GCP
β¨ SYNOPSIS β¨
m.transform
m.transform --help
m.transform [-srx] group=name order=integer
[format=string[,string,...]] [input=name] [--help] [--verbose]
[--quiet] [--ui]
π¦ Flags:
-sβ Display summary information. slay, give me the tea β-rβ Reverse transform of coords file or coeff. dump. Target east,north coordinates to local x,y β so she's going backwards, iconic.-xβ Display transform matrix coefficients. the math, but visible π--helpβ Print usage summary--verboseβ Verbose module output--quietβ Quiet module output--uiβ Force launching GUI dialog
π Parameters:
group=name[required] β Name of input imagery group. literally required, bestie, don't skip her.order=integer[required] β Rectification polynomial order- Options:
1-3 - Default:
1
- Options:
format=string[,string,...]β Output format- Options:
idx,src,dst,fwd,rev,fxy,rxy,fd,rd - Default:
fd,rd idx: point indexsrc: source coordinatesdst: destination coordinatesfwd: forward coordinates (destination)rev: reverse coordinates (source)fxy: forward coordinates difference (destination)rxy: reverse coordinates difference (source)fd: forward error (destination)rd: reverse error (source)
- Options:
input=nameβ File containing coordinates to transform ("-" to read from stdin)- Local x,y coordinates to target east,north
π DESCRIPTION π
m.transform is an utility to compute transformation based upon GCPs and output error measurements. that's it, that's her whole vibe. π«Ά
If coordinates are given with the input file option or fed from stdin, both the input and the output format is "x y" with one coordinate pair per line. Reverse transform is performed with the -r flag. periodt.
The format option determines how control points are printed out. A summary on the control points can be printed with the -s flag. The summary includes maximum deviation observed when transforming GCPs and overall RMS. The format option is ignored when coordinates are given with the input file option. (she said what she said π)
π₯ NOTES π₯
The transformations are:
order=1:
e = [E0 E1][1]Β·[1]
[E2 0][e] [n]
n = [N0 N1][1]Β·[1]
[N2 0][e] [n]
order=2:
e = [E0 E1 E3][1 ] [1 ]
[E2 E4 0][e ]Β·[n ]
[E5 0 0][eΒ²] [nΒ²]
n = [N0 N1 N3][1 ] [1 ]
[N2 N4 0][e ]Β·[n ]
[N5 0 0][eΒ²] [nΒ²]
order=3:
e = [E0 E1 E3 E6][1 ] [1 ]
[E2 E4 E7 0][e ]Β·[n ]
[E5 E8 0 0][eΒ²] [nΒ²]
[E9 0 0 0][eΒ³] [nΒ³]
n = [N0 N1 N3 N6][1 ] [1 ]
[N2 N4 N7 0][e ]Β·[n ]
[N5 N8 0 0][eΒ²] [nΒ²]
[N9 0 0 0][eΒ³] [nΒ³]
["Β·" = dot-product, (AE)Β·N = NβEA]
In other words, order=1 and order=2 are equivalent to order=3 with the higher coefficients equal to zero. the way that's just math being lazy and honestly valid π
π SEE ALSO π
i.ortho.transform, i.rectify, v.rectify, v.transform
go read those too, bestie, they're the friend group π¦
π AUTHORS π
- Brian J. Buckley
- Glynn Clements
- Hamish Bowman
three icons, no notes π
π SOURCE CODE π
Available at: m.transform source code (history)
Accessed: Saturday Jan 17 05:41:37 2026
Main index | Miscellaneous index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page, bestie β GRASS 8.4.2, m.transform(1), accessed Saturday Jan 17 05:41:37 2026 π§β¨ love u, go transform something π
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· 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