<div>Hi,</div><div><br></div><div>I need to obtain this format from shapefile, how do I?</div><div><span class="Apple-style-span" style="font-size:15px;font-weight:bold"><br></span></div><div><span class="Apple-style-span" style="font-size:15px;font-weight:bold"> ESRI ASCII Grid Format</span></div>
<div><blockquote>
<p>
(Copied from the ArcWorkstation 8.3 Help File)
</p>
<p>
The ASCII file must consist of header information containing a set of
keywords, followed by cell values in row-major order. The file format
is
</p>
<pre> <NCOLS xxx><br> <NROWS xxx><br> <XLLCENTER xxx | XLLCORNER xxx><br> <YLLCENTER xxx | YLLCORNER xxx><br> <CELLSIZE xxx><br> {NODATA_VALUE xxx}<br> row 1<br> row 2<br> ...<br>
row n<br></pre>
where <tt>xxx</tt> is a number, and the keyword <tt>nodata_value</tt> is
optional and defaults to -9999. Row 1 of the data is at the top of the
grid, row 2 is just under row 1 and so on. For example:
<pre> ncols 386<br> nrows 286<br> xllcorner -128.66338<br> yllcorner 13.7502065<br> cellsize 0.2<br> NODATA_value -9999<br> -9999 -9999 -123 -123 -123 -9999 -9999 -9999 -9999 -9999 ...<br>
-9999 -9999 -123 -123 -123 -9999 -9999 -9999 -9999 -9999 ...<br> -9999 -9999 -117 -117 -117 -119 -119 -119 -119 -119 -9999 ...<br> ...<br></pre>
The <tt>nodata_value</tt> is the value in the ASCII file to be assigned
to those cells whose true value is unknown. Cell values should be
delimited by spaces. No carriage returns are necessary at the end of
each row in the grid. The number of columns in the header is used to
determine when a new row begins. The number of cell values must be equal
to the number of rows times the number of columns. </blockquote></div><div><br></div><div>I'm working </div><div>GRASS 6.4.2 (2012)</div><div>OSX 10.6.8</div><div><br></div><div>Many thanks,</div><div><br></div>
<div><br></div><div>Jose C. Guerrero</div><br clear="all"><div><br></div>-- <br><div>################################################################</div>Dr. José Carlos Guerrero<br>Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio (LDSGAT)<br>
Instituto de Ecología y Ciencias Ambientales (IECA)<br>Facultad de Ciencias<br>Universidad de la República<br>Montevideo-URUGUAY<div>################################################################</div><br>