GRASS logo

NAME

r.in.arc - Converts an ESRI ARC/INFO ascii raster file (GRID) into a GRASS raster map.

KEYWORDS

raster, import, ASCII

SYNOPSIS

r.in.arc
r.in.arc --help
r.in.arc input=name output=name [type=string] [title=phrase] [mult=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

--overwrite
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:

input=name [required]
Name of ARC/INFO ASCII raster file (GRID) to be imported
output=name [required]
Name for output raster map
type=string
Storage type for resultant raster map
Options: CELL, FCELL, DCELL
Default: FCELL
title=phrase
Title for resultant raster map
mult=float
Multiplier for ASCII data
Default: 1.0

Table of contents

DESCRIPTION

Note: this module is superseded by r.in.gdal.

r.in.arc allows a user to create a (binary) GRASS raster map layer from an ESRI ARC/INFO ascii GRID file with (optional) title.

The ARC/INFO ascii GRID file header has 6 lines (last line optional):

     ncols:
     nrows:
     xllcorner:
     yllcorner:
     cellsize:
     nodata_value:
or alternatively (not supported by r.in.arc, but by r.in.gdal, last line optional):
     ncols:
     nrows:
     xllcenter:
     yllcenter:
     cellsize:
     nodata_value:

NOTES

r.in.arc handles floating point cell values. The mult option allows the number of significant figures of a floating point cell to be increased before importing. Multiples of ten are the most functional multipliers.

EXAMPLE

To import a ARC/INFO ascii grid, applying a 10x multiplier during import, with title:
r.in.arc input=elev_meters.asc output=elev_decimeters title="Elevation data converted to decimeters" mult=10

SEE ALSO

r.in.gdal, r.out.arc

AUTHOR

Unknown German author, updated by Bill Brown to floating point support.

Last changed: $Date: 2014-11-02 20:52:58 +0100 (Sun, 02 Nov 2014) $

SOURCE CODE

Available at: r.in.arc source code (history)


Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2018 GRASS Development Team, GRASS GIS 7.4.2svn Reference Manual