GRASS logo

Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

NAME

g.proj.all - Reprojects raster and vector maps from given location and mapset to current mapset.

KEYWORDS

general, projection, transformation

SYNOPSIS

g.proj.all
g.proj.all --help
g.proj.all [-rzo] location=name mapset=name [dbase=path] [method=string] [resolution=float] [--help] [--verbose] [--quiet] [--ui]

Flags:

-r
Use current region instead of maps bounds
-z
Assume z coordinate is ellipsoidal height and transform if possible
3D vector maps only
-o
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

location=name [required]
Location containing input raster map
mapset=name [required]
Name of mapset (default: current search path)
Mapset containing input raster map
dbase=path
Path to GRASS database of input location
method=string
Interpolation method to use
Options: nearest, linear, cubic, lanczos, linear_f, cubic_f, lanczos_f
Default: nearest
nearest: nearest neighbor
linear: linear interpolation
cubic: cubic convolution
lanczos: lanczos filter
linear_f: linear interpolation with fallback
cubic_f: cubic convolution with fallback
lanczos_f: lanczos filter with fallback
resolution=float
Resolution of output raster map

Table of contents

DESCRIPTION

g.proj.all reprojects all raster and vector maps from given location and mapset to the current mapset. If flag r is set, current computational region is used for raster maps reprojection. Otherwise, each raster map is reprojected to its bounds, ignoring computational region in the current mapset. Modules r.proj and v.proj are used for reprojecting.

EXAMPLE

This example reprojects raster maps (with resolution 50 map units) and vector maps from mapset 'landsat' of 'nc_spm_08' location to the current mapset.
g.proj.all resolution=50 location=nc_spm_08 mapset=landsat

SEE ALSO

r.proj, v.proj

AUTHORS

Anna Petrasova, NCSU OSGeoREL,
Vaclav Petras, NCSU OSGeoREL

SOURCE CODE

Available at: g.proj.all source code (history)

Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

Main index | General index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual