r.latlong(1grass)
β¨ r.latlong β¨
okay bestie, gather round, because we're talking about r.latlong(1grass) β the GRASS module that makes you a latitude/longitude raster map and honestly? it's giving underrated icon. π
πΈ NAME πΈ
r.latlong β creates a latitude/longitude raster map πΊοΈβ¨
π KEYWORDS π
raster, latitude, longitude, projection
π SYNOPSIS π
r.latlong
r.latlong --help
r.latlong [-l] input=name output=name [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
π¦ Flags
-lβ Longitude output. like, you want longitude instead of latitude? this is the girl. π--overwriteβ Allow output files to overwrite existing files. no cap, it will just bulldoze whatever's already there.--helpβ Print usage summary--verboseβ Verbose module output--quietβ Quiet module output--uiβ Force launching GUI dialog
π Parameters
input=name[required] β Name of input raster mapoutput=name[required] β Name for output latitude or longitude raster map
π DESCRIPTION π
so here's the tea β: r.latlong creates a latitude (degree decimal) map β or a longitude map if you pass the -l flag β from any map in any projection, and it does it using the PROJ library. literally any projection, bestie, it does not care. π
and the reason you'd want this? it's an input to r.sun and i.evapo.potrad. so if you're doing solar or evapotranspiration stuff, this map is your backstage pass. ποΈβ¨
π NOTES π
The PROJ website. (yes that's the whole note. short queen. π)
π TODO π
Datum transform is not implemented β the same datum is taken as output. so, like, don't come for it about datums, it's simply not doing that rn. π«Ά
π₯ EXAMPLE π₯
g.region raster=elevation -p
r.latlong input=elevation output=latitude
look at her go β¨ region set, latitude map made, main character energy only.
π SEE ALSO π
r.sun, r.sunhours
π«Ά AUTHOR π«Ά
Yann Chemin, International Rice Research Institute, The Philippines
π SOURCE CODE π
Available at: r.latlong source code (history)
Latest change: Saturday Nov 15 06:40:22 2025 in commit: e9e31a04af129ae3fcac227885cbbd77ce70d803
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's the whole page, no notes π
k bye bestie, that was r.latlong(1grass) from GRASS 8.5.0 β go make some latitude rasters and slay the day β¨πΈπ¦ periodt. π
π¦ 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