Rechercher une page de manuel
r.out.ascii
Langue: en
Version: 369176 (fedora - 01/12/10)
Section: 1 (Commandes utilisateur)
NAME
r.out.ascii - Converts a raster map layer into an ASCII text file.KEYWORDS
raster, exportSYNOPSIS
r.out.asciir.out.ascii help
r.out.ascii [-hsmi] input=string [output=string] [dp=integer] [width=integer] [null=string] [--verbose] [--quiet]
Flags:
- -h
Suppress printing of header information- -s
Write SURFER (Golden Software) ASCII grid- -m
Write MODFLOW (USGS) ASCII array- -i
Force output of integer values- --verbose
Verbose module output- --quiet
Quiet module output
Parameters:
- input=string
Name of an existing raster map- output=string
Name for output ASCII grid map (use out=- for stdout)- dp=integer
Number of significant digits (floating point only)- width=integer
Number of values printed before wrapping a line (only SURFER or MODFLOW format)- null=string
String to represent null cell (GRASS grid only)
Default: *
DESCRIPTION
r.out.ascii converts a user-specified raster map layer (input=name) into an ASCII grid in a text file (output=name) suitable for export to other computer systems.The GRASS program r.in.ascii can be used to perform the reverse function, converting an ASCII file in suitable format to GRASS raster map format.
To write a SURFER .grd ASCII GRID file (with reverted row order and different header) use the -s flag:
r.out.ascii -s input=inname output=outname.grd [dp=value]
NULL data are coded to "1.70141e+038" for SURFER ASCII GRID files (ignoring the null= parameter).
NOTES
The output from r.out.ascii may be placed into a file by using the UNIX redirection mechanism; e.g.:r.out.ascii input=soils output=- > out.file
The output file out.file can then be printed or copied onto a CDROM or floppy disk for export purposes.
To export the raster values as x,y,z values of cell centers (one per line) use the r.out.xyz module.
SEE ALSO
r.in.ascii, r.in.arc, r.out.bin, r.out.gdal, r.out.xyzAUTHOR
Michael Shapiro, U.S. Army Construction Engineering Research LaboratorySurfer support by Markus Neteler
Last changed: $Date: 2006-12-13 15:21:43 +0100 (Wed, 13 Dec 2006) $
Full index
© 2003-2008 GRASS Development Team
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre