r.latlong
Creates a latitude/longitude raster map.
r.latlong [-l] input=name output=name [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
r.latlong input=name output=name
grass.script.run_command("r.latlong", input, output, flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("r.latlong", input="name", output="name")
Parameters
input=name [required]
Name of input raster map
output=name [required]
Name for output latitude or longitude raster map
-l
Longitude output
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
input : str, required
Name of input raster map
Used as: input, raster, name
output : str, required
Name for output latitude or longitude raster map
Used as: output, raster, name
flags : str, optional
Allowed values: l
l
Longitude output
overwrite: bool, optional
Allow output files to overwrite existing files
Default: False
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
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
AUTHOR
Yann Chemin, International Rice Research Institute, The Philippines
SOURCE CODE
Available at: r.latlong source code
(history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f