r.latlong(1)
π r.latlong β bestie, it's giving GRASS GIS User's Manual energy π
okay so welcome to the r.latlong(1) era β¨ this is the manual page for a lil GRASS GIS module that creates a latitude/longitude raster map. that's it. that's the whole vibe. but like, in a slay way π
β¨ NAME β¨
r.latlong β creates a latitude/longitude raster map. yes literally that. it makes one. for you. π
π¦ KEYWORDS π¦
raster, latitude, longitude, projection β that's the tag cloud bestie, those are the searchable keywords iykyk
πΈ SYNOPSIS πΈ
here's how you actually call it, no notes:
r.latlong
r.latlong --help
r.latlong [-l] input=name output=name [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
π Flags π
-lβ longitude output. so like, if you want longitude instead of latitude? this is the flag. without it you get latitude. periodt.--overwriteβ allow output files to overwrite existing files. (the "no thoughts, just replace" option π)--helpβ print usage summary. the classic "wait what does this do" button π«Ά--verboseβ verbose module output. it will talk to you.--quietβ quiet module output. it will NOT talk to you.--uiβ force launching GUI dialog. for the visual girlies π
π Parameters π
input=name[required] β name of input raster map. you gotta give it something, bestie, it's required, no cap.output=name[required] β name for output latitude or longitude raster map. also required. also no cap. you name your baby π
π DESCRIPTION π
okay so r.latlong creates a latitude (degree decimal) map β or a longitude map if you use the -l flag β from any map in any projection, using the PROJ library. any projection. ANY. iconic behavior honestly π₯
and it's not just decorative β this output is an input to r.sun and i.evapo.potrad. so it's a whole supporting character with main character energy β¨
β NOTES β
the PROJ website. that's the note. that's it. go look at it if you want π¦
π TODO π
Datum transform is not implemented, the same datum is taken as output.
so like. heads up. the datum transform? not implemented. not a thing yet. it just takes the same datum as the output. don't come for me, I'm just the messenger π
πΈ EXAMPLE πΈ
here's the whole little ritual, copy-paste coded:
g.region raster=elevation -p
r.latlong input=elevation output=latitude
set your region, then boom β latitude map. ate. π
π SEE ALSO π
r.sunr.sunhours
go read those too, they're the cousins π«Ά
π AUTHOR π
Yann Chemin, International Rice Research Institute, The Philippines πΎ literally built different
π SOURCE CODE π
Available at: r.latlong source code (history)
Accessed: Saturday Jan 17 05:40:49 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
and that's the page bestie π mwah. this was GRASS GIS 8.4.2 Reference Manual territory, Β© 2003-2025 GRASS Development Team, and the footer was serving GRASS 8.4.2, r.latlong(1) β that's a wrap, go make some raster maps πβ¨π
π¦ 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