Scroll to navigation

r.latlong(1grass) GRASS User's Manual r.latlong(1grass)

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:


Longitude output

Allow output files to overwrite existing files

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog

Parameters:


Name of input raster map

Name for output latitude or longitude raster map

DESCRIPTION

r.latlong creates a latitude (degree decimal) map, or longitude if the -l flag is used, from any map in any projection using PROJ library. This is an input to r.sun and i.evapo.potrad.

NOTES

The PROJ website.

TODO

Datum transform is not implemented, the same datum is taken as output.

EXAMPLE

g.region raster=elevation -p
r.latlong input=elevation output=latitude

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.0RC1 Reference Manual

GRASS 8.5.0RC1