Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 413e0bdb3c48563b2d8d9038d07d5533 > files > 2057

grass-6.3.0-15.fc13.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS: r.out.arc</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">

<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>

<h2>NAME</h2>
<em><b>r.out.arc</b></em>  - Converts a raster map layer into an ESRI ARCGRID file.
<h2>KEYWORDS</h2>
raster
<h2>SYNOPSIS</h2>
<b>r.out.arc</b><br>
<b>r.out.arc help</b><br>
<b>r.out.arc</b> [-<b>h1</b>] <b>input</b>=<em>string</em> <b>output</b>=<em>string</em>  [<b>dp</b>=<em>integer</em>]   [--<b>verbose</b>]  [--<b>quiet</b>] 

<h3>Flags:</h3>
<DL>
<DT><b>-h</b></DT>
<DD>Suppress printing of header information</DD>

<DT><b>-1</b></DT>
<DD>List one entry per line instead of full row</DD>

<DT><b>--verbose</b></DT>
<DD>Verbose module output</DD>
<DT><b>--quiet</b></DT>
<DD>Quiet module output</DD>
</DL>

<h3>Parameters:</h3>
<DL>
<DT><b>input</b>=<em>string</em></DT>
<DD>Name of an existing raster map layer</DD>

<DT><b>output</b>=<em>string</em></DT>
<DD>Name of an output ARC-GID map (use out=- for stdout)</DD>

<DT><b>dp</b>=<em>integer</em></DT>
<DD>Number of decimal places</DD>
<DD>Default: <em>8</em></DD>

</DL>
<H2>DESCRIPTION</H2>


<EM>r.out.arc</EM> converts a user-specified raster map layer
(<B>input=</B><EM>name</EM>) into an ESRI ARC-GRID ascii file
(<B>output=</B><EM>name</EM>) suitable for export to other computer systems. 
The dp=<EM>value</EM> option (where <EM>value</EM> is a number of the user's
choice) can be used to request that numbers after decimal points are
limited.  However, to use this, the user should know the maximum number of
digits that will occur in the output file.  The user can find the maximum
number of digits occurring in the output file by running <EM>r.out.arc</EM>
without the <B>dp=</B><EM>value</EM> option.


<P>

The GRASS program <EM><A HREF="r.in.arc.html">r.in.arc</A></EM> can be used
to perform the reverse function, converting an ESRI ARC-GRID ascii file in
suitable format to GRASS raster map format. The order of cell values in
file is from lower left to upper right (reverse to GRASS).

<H2>NOTES</H2>

The output from <EM>r.out.arc</EM> may also be placed into a file
by using the UNIX redirection mechanism;  e.g.:

<div class="code"><pre>
r.out.arc input=soils output=- &gt; out.grd
</pre></div>

The output file <EM>out.grd</EM> can then be copied
onto a CDROM or floppy disk for export purposes.

<P><BR>
An Arc ASCII grid can be loaded into ArcGIS 8.3 though ArcToolbox.<BR>
Use the "Import to Raster" -> "ASCII to Grid" tool to create a binary grid 
which can be selected using ArcCatalog. The spatial analyst extension may 
need to be installed and activated within Arc.
<P>
In ArcGIS 9.0 the import tool can be found at:<BR>
ArcMap -> Toolbox -> Conversion Tools -> To Raster -> ASCII to Raster
<P>
A GeoTIFF created with <EM><A HREF="r.out.gdal.html">r.out.gdal</A></EM> is
sometimes a better solution for transferring raster maps to other GIS software.
<P>
<H2>SEE ALSO</H2>

<EM><A HREF="r.in.arc.html">r.in.arc</A></EM><BR>
<EM><A HREF="r.out.gdal.html">r.out.gdal</A></EM><BR>


<H2>AUTHOR</H2>

Markus Neteler, University of Hannover, Germany, <br>
based on r.out.ascii written by <br>
Michael Shapiro,
U.S.Army Construction Engineering Research Laboratory

<p><i>Last changed: $Date: 2006-12-13 15:21:43 +0100 (Wed, 13 Dec 2006) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="raster.html">raster index</a> - <a href="full_index.html">Full index</a></P>
<P>&copy; 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>