d.slide.show.1grass

Langue: en

Version: 335205 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

d.slide.show - Slide show of GRASS raster/vector maps.

KEYWORDS

display, slideshow

SYNOPSIS

d.slide.show
d.slide.show help
d.slide.show [-v] [prefix=string] [across=integer] [down=integer] [mapsets=string[,string,...]] [delay=integer] [--verbose] [--quiet]

Flags:

-v

Show vector maps rather than raster maps
--verbose

Verbose module output
--quiet

Quiet module output

Parameters:

prefix=string

Map prefix. Specify character(s) to view selected maps only
across=integer

Map number show across the monitor
down=integer

Map number show down the monitor
mapsets=string[,string,...]

Mapsets to use. Specify multiple mapsets comma separated
delay=integer

Number of seconds to pause between slides
Options: 0-60
Default: 0

DESCRIPTION

d.slide.show is a UNIX Bourne shell macro which clears the entire screen, creates a series of display frames on the graphics monitor, and displays in slideshow format each of the raster/vector map layers listed in the user-specified mapsets. This is a shell script example which makes extensive use of GRASS and UNIX commands. Users are encouraged to examine this macro and develop similar on-line demos using their own data files.

EXAMPLE

The following command sequence shows the available raster maps, saves the view to a PNG file and then converts it into a PDF file:
# reset region:
g.region -dp

# open GRASS monitor with defined size:
GRASS_WIDTH=800 GRASS_HEIGHT=1000 d.mon x0

# we have around 40 maps in the Spearfish PERMANENT mapset:
d.slide.show across=5 down=8 mapsets=PERMANENT

# From Monitor to PNG to PDF:
d.out.png out=spearfish_maps.png res=2

convert spearfish_maps.png spearfish_maps.pdf
xpdf spearfish_maps.pdf

SEE ALSO

d.erase
d.frame
d.text
g.mapsets
xganim

AUTHOR

James Westervelt, U.S.Army Construction Engineering Research Laboratory
Vector update, fixes: Markus Neteler

Last changed: $Date: 2007-02-07 00:12:41 +0100 (mer, 07 feb 2007) $

Full index

© 2003-2010 GRASS Development Team