r.out.xyz

Langue: en

Autres versions - même langue

Version: 149493 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

NAME

r.out.xyz - Export a raster map to a text file as x,y,z values based on cell centers.

KEYWORDS

raster, export

SYNOPSIS

r.out.xyz
r.out.xyz help
r.out.xyz input=name [output=name] [fs=character] [--verbose] [--quiet]

Parameters:

input=name

Name of input raster map
output=name

Name for output file (if omitted or "-" output to stdout)
fs=character

Field separator
Default: |

DESCRIPTION

The r.out.xyz module will export a raster map as a list of x,y,z values into an ASCII text file.

(GRASS Shell Script)

NOTES

This module will not export x,y coordinates for raster cells containing a NULL value. This includes cells masked by a raster MASK.

This module, as all GRASS raster modules, will export cells based on the current region settings. See the g.region module for details.

The r.out.ascii module should be used to export an array (of size row x column) containing z values.

r.out.xyz is simply a front-end to "r.stats -1gn".

TODO

Implement this script as a r.out.ascii option?

SEE ALSO

g.region, r.mask r.out.ascii, r.stats

AUTHOR

M. Hamish Bowman
Dept. Marine Science
Otago University, New Zealand

Last changed: $Date: 2006-11-18 08:00:50 +0100 (Sat, 18 Nov 2006) $

Full index

Š 2003-2008 GRASS Development Team