GRASS logo

NAME

g.list - Lists available GIS elements of the user-specified data type.

KEYWORDS

general, map management, list

SYNOPSIS

g.list
g.list help
g.list [-f] type=datatype[,datatype,...] [mapset=name] [--verbose] [--quiet]

Flags:

-f
Verbose listing (also list map titles)
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

type=datatype[,datatype,...]
Data type(s)
Options: rast,rast3d,vect,oldvect,asciivect,icon,labels,sites,region,region3d,group,view3d,all
rast: raster map(s)
rast3d: 3D raster map(s)
vect: vector map(s)
oldvect: old (GRASS 5.0) vector map(s)
asciivect: ASCII vector map(s)
icon: paint icon file(s)
labels: paint label file(s)
sites: site list file(s)
region: region definition(s)
region3d: 3D region definition(s)
group: imagery group(s)
view3d: 3D view parameter(s)
all: all types
mapset=name
Name of mapset (default: current search path)
'.' for current mapset

DESCRIPTION

g.list allows the user to list user-specified, available and accessible files from mapsets under the user's current location.

NOTES

If unspecified, files of the specified type from all mapsets in the user's current search path will be listed to standard output. To find out which mapsets are in the cuurent search path, use 'g.mapsets -p'.

If the mapset option is set to "." then only maps from the current mapset will be displayed.

If the user requests that files from a mapset to which access has been restricted (see g.access) be listed, no files from this mapset will be listed.

EXAMPLES

List all raster maps:
   g.list type=rast

List all raster and vector maps from mapset "user":

   g.list type=rast,vect mapset=user

SEE ALSO

g.access
g.mapsets
g.mlist

AUTHOR

Michael Shapiro, U.S.Army Construction Engineering Research Laboratory

Last changed: $Date: 2011-01-14 14:11:41 -0800 (Fri, 14 Jan 2011) $


Main index - general index - Full index

© 2003-2011 GRASS Development Team