| 1 | <?xml version="1.0" encoding="utf-8"?> |
|---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>ToArcInfoASCIIGridTable Method</title><link rel="stylesheet" type="text/css" href="lib.css?format=raw" /><style xml:space="preserve"> |
|---|
| 4 | td.metadataTitle { font-size: 80%; font-weight: bold; font-family: avantgarde, sans-serif; } |
|---|
| 5 | td.metadataValue { padding-left: 0.5em; } |
|---|
| 6 | </style></head><body><div class="navigation"><div><table align="center" width="100%" cellpadding="0" cellspacing="2"><tr><td class="online-navigation"><a title="ToArcInfoASCIIGridList Method" href="Method_GeoEco.DataManagement.BinaryRasters.BinaryRaster.ToArcInfoASCIIGridList.html?format=raw"><img src="previous.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Previous Page" /></a></td><td class="online-navigation"><a title="BinaryRaster Class" href="Class_GeoEco.DataManagement.BinaryRasters.BinaryRaster.html?format=raw"><img src="up.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Up one Level" /></a></td><td class="online-navigation"><a title="GeoEco.DataManagement.Directories Module" href="Module_GeoEco.DataManagement.Directories.html?format=raw"><img src="next.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Next Page" /></a></td><td align="center" width="100%">GeoEco Python Reference</td><td class="online-navigation"><a title="Table of Contents" href="TableOfContents.html?format=raw"><img src="contents.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Table of Contents" /></a></td><td class="online-navigation"><a title="Module Index" href="ModuleIndex.html?format=raw"><img src="modules.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Module Index" /></a></td><td class="online-navigation"><img src="blank.png?format=raw" border="0" align="bottom" height="32" width="32" alt="" /></td></tr></table><div class="online-navigation"><b class="navlabel">Previous:</b> <a class="sectref" href="Method_GeoEco.DataManagement.BinaryRasters.BinaryRaster.ToArcInfoASCIIGridList.html?format=raw">ToArcInfoASCIIGridList Method</a> <b class="navlabel">Up:</b> <a class="sectref" href="Class_GeoEco.DataManagement.BinaryRasters.BinaryRaster.html?format=raw">BinaryRaster Class</a> <b class="navlabel">Next:</b> <a class="sectref" href="Module_GeoEco.DataManagement.Directories.html?format=raw">GeoEco.DataManagement.Directories Module</a> </div><hr /></div></div><h1><tt class="member">ToArcInfoASCIIGridTable</tt> Method</h1><p>Converts each two-dimensional binary raster in a table to a text file in ArcInfo ASCII Grid format.</p><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td class="metadataTitle">Class:</td><td class="metadataValue"><tt class="class"><a href="Class_GeoEco.DataManagement.BinaryRasters.BinaryRaster.html?format=raw">BinaryRaster</a></tt></td></tr><tr valign="baseline"><td class="metadataTitle">Intended use:</td><td class="metadataValue">Recommended for external callers</td></tr><tr valign="baseline"><td class="metadataTitle">COM:</td><td class="metadataValue">Not exposed by a COM class</td></tr><tr valign="baseline"><td class="metadataTitle">ArcGIS:</td><td class="metadataValue">Not exposed as an ArcGIS geoprocessing tool</td></tr><tr valign="baseline"><td class="metadataTitle">Method type:</td><td class="metadataValue">Classmethod</td></tr></table><h3>Usage</h3><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method">BinaryRaster.ToArcInfoASCIIGridTable</tt></b>(</td><td><var>connection</var><var>, table</var><var>, inputFileField</var><var>, outputFileField</var><var>, dataType</var><var>, columnCount</var><var>, rowCount</var><var>, xLowerLeftCorner</var><var>, yLowerLeftCorner</var><var>, cellSize</var><big>[</big><var>, nodataValue</var><big>[</big><var>, offset</var><big>[</big><var>, swapBytes</var><big>[</big><var>, transpose</var><big>[</big><var>, mirror</var><big>[</big><var>, flip</var><big>[</big><var>, swapHemispheres</var><big>[</big><var>, where</var><big>[</big><var>, orderBy</var><big>[</big><var>, directions</var><big>[</big><var>, skipExisting</var><big>[</big><var>, overwriteExisting</var><big>[</big><var>, basePath</var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var>)</td></tr></table><h3>Arguments</h3><dl><dt><var>connection</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">GeoEco.DatabaseAccess.DatabaseConnection</tt></td></tr></table><p>Connection opened to the database that contains the table.</p></dd></dl><dl><dt><var>table</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">unicode</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">1</td></tr></table><p>Name of the table to query.</p></dd></dl><dl><dt><var>inputFileField</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">unicode</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">1</td></tr></table><p>Field containing the paths of the input binary rasters.</p><p>A binary raster is a file that contains a raw array of numbers stored |
|---|
| 7 | in binary format, as if a snapshot of in-memory data had been written |
|---|
| 8 | directly to disk. In ArcGIS, this is the type of file output by the |
|---|
| 9 | Raster to Float tool, although that tool can only output binary |
|---|
| 10 | rasters that use a 32-bit floating point data type. This tool can use |
|---|
| 11 | any standard numeric data type.</p><p>The data must have two dimensions. By default, it is assumed that the |
|---|
| 12 | data are in "row-major order", the approach used by the C programming |
|---|
| 13 | language: the cells are ordered left-to-right, top-to-bottom, with |
|---|
| 14 | columns increasing before rows. The upper-left cell is the first cell, |
|---|
| 15 | followed by the cell to its right, and so on to the end of the first |
|---|
| 16 | row. The second row comes next, and so on to the end. The lower-right |
|---|
| 17 | cell is the last one. If the data are in "column-major order", the |
|---|
| 18 | approach used by Fortran and MATLAB, use the Transpose option to flip |
|---|
| 19 | the data about the diagonal axis.</p><p>By default, it is assumed that the data should be read starting with |
|---|
| 20 | the first byte of the file. If the file contains a header of a known |
|---|
| 21 | length, use the Offset parameter to skip over it.</p><p>If the file contains extra bytes that occur after the data, they will |
|---|
| 22 | be ignored.</p><p>If you provide compressed files in a supported compression format, |
|---|
| 23 | they will be automatically decompressed. If files are compressed in an |
|---|
| 24 | archive format (e.g. .zip or .tar), each archive must contain exactly |
|---|
| 25 | one file, which must not be in a subdirectory.</p></dd></dl><dl><dt><var>outputFileField</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">unicode</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">1</td></tr></table><p>Field containing the paths of the ArcInfo ASCII Grid files to write.</p><p>ArcInfo ASCII Grid format is not formally specified by ESRI but you |
|---|
| 26 | can find informal specifications by searching the Internet. The format |
|---|
| 27 | is well-known, stable and very simple. A short example:</p><div class="verbatim"><pre xml:space="preserve">ncols 4 |
|---|
| 28 | nrows 6 |
|---|
| 29 | xllcorner 0 |
|---|
| 30 | yllcorner 0 |
|---|
| 31 | cellsize 50 |
|---|
| 32 | NODATA_value -9999 |
|---|
| 33 | -9999 -9999 5 2 |
|---|
| 34 | -9999 20 100 36 |
|---|
| 35 | 3 8 35 10 |
|---|
| 36 | 32 42 50 6 |
|---|
| 37 | 88 75 27 9 |
|---|
| 38 | 13 5 1 -9999</pre></div></dd></dl><dl><dt><var>dataType</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">unicode</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Allowed values:</td><td class="metadataValue"><code>u'int8'</code>, <code>u'uint8'</code>, <code>u'int16'</code>, <code>u'uint16'</code>, <code>u'int32'</code>, <code>u'uint32'</code>, <code>u'float'</code>, <code>u'double'</code></td></tr></table><p>Data type of the binary raster.</p><p>This may be one of the following values:</p><ul><li>int8 - 8-bit signed integer, range -128 to 127</li><li>uint8 - 8-bit unsigned integer, range 0 to 255</li><li>int16 - 16-bit signed integer, range -32768 to 32767</li><li>uint16 - 16-bit unsigned integer, range 0 to 65535</li><li>int32 - 32-bit signed integer, range -2147483648 to 2147483647</li><li>uint32 - 32-bit unsigned integer, range 0 to 4294967295</li><li>float - 32-bit single-precision floating point</li><li>double - 64-bit double-precision floating point</li></ul><p>Binary rasters with other data types cannot be converted because the |
|---|
| 39 | ArcInfo ASCII Grid format does not support them.</p><p>The exact format, precision and range of the floating types depend on the |
|---|
| 40 | processor architecture of your computer. Most processors implement the IEEE |
|---|
| 41 | Standard for Binary Floating-Point Arithmetic (IEEE 754).</p><p>Binary rasters that use the float or double data type must not contain |
|---|
| 42 | "infinity" (INF) or "not a number" (NAN) values. A ValueError will be raised if |
|---|
| 43 | these values are discovered.</p><p>The ArcGIS raster format supports the 32-bit float data type but not the 64-bit |
|---|
| 44 | double data type. You may still run the ArcGIS ASCII to Raster geoprocessing |
|---|
| 45 | tool to convert ASCII files created from double-precision binary rasters. The |
|---|
| 46 | tool's behavior in this situation is not documented. In ArcGIS 9.1 it appears to |
|---|
| 47 | be:</p><ul><li>Values where the exponent ranges from -38 to +38 are properly represented in |
|---|
| 48 | the resulting 32-bit float raster.</li><li>Values where the exponent is less than -38 (e.g. -39, -40, and so on) are |
|---|
| 49 | converted to 0.</li><li>Values where the exponent is greater than +38 are converted to -INF or +INF, |
|---|
| 50 | depending on the sign of the value (e.g. -5.3083635279597874e-212 appears as |
|---|
| 51 | -1.#INF in the ArcCatalog GUI, while 2.5502286890301497e+084 appears as |
|---|
| 52 | 1.#INF).</li></ul><p>The ArcGIS 9.1 ASCII to Raster tool also exhibits some quirks when converting |
|---|
| 53 | integer rasters:</p><ul><li>For an ASCII file created from an int8 binary file, the tool will create an |
|---|
| 54 | int16 raster if the value -128 appears in the ASCII file, unless -128 is |
|---|
| 55 | designated the NODATA value. Specifying a different NODATA value, such as 0, |
|---|
| 56 | still yields an int16 raster if -128 appears.</li><li>Similarly, for an ASCII file created from an int16 binary file, the tool will |
|---|
| 57 | create an int32 raster if the value -32768 appears in the ASCII file, unless |
|---|
| 58 | it is designated the NODATA value.</li><li>Worse, for an ASCII file created from an int32 binary file, the tool will |
|---|
| 59 | report an error if the value -2147483648 appears in the ASCII file unless it |
|---|
| 60 | is designated the NODATA value. Even stranger, the value -2147483647 is |
|---|
| 61 | always translated to NODATA, no matter what.</li><li>For all types of integer rasters, the tool produces strange behavior when you |
|---|
| 62 | specify a NODATA value that is not the smallest possible value for the data |
|---|
| 63 | type. For example, if the ASCII file contains values from 0 to 255 and 0 is |
|---|
| 64 | designated the NODATA value, the tool produces a uint8 output raster. But if |
|---|
| 65 | 1 is designated the NODATA value, it produces an int16 output raster, and |
|---|
| 66 | ArcCatalog shows under Raster Dataset Properties that the NoData Value is |
|---|
| 67 | -32768, although the Identify tool shows cells that had value 1 are actually |
|---|
| 68 | NODATA. Similar strange results can be obtained for integer rasters of other |
|---|
| 69 | data types, when you designate a NODATA that is not the smallest possible |
|---|
| 70 | value.</li></ul></dd></dl><dl><dt><var>columnCount</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">int</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum value:</td><td class="metadataValue"><code>1</code></td></tr></table><p>Number of columns in the binary raster.</p></dd></dl><dl><dt><var>rowCount</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">int</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum value:</td><td class="metadataValue"><code>1</code></td></tr></table><p>Number of rows in the binary raster.</p></dd></dl><dl><dt><var>xLowerLeftCorner</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">float</tt></td></tr></table><p>X coordinate of the lower-left corner of the raster.</p><p>The coordinate is for the corner of the lower-left cell, not the center of that |
|---|
| 71 | cell. For example, if the raster is a geographic projection of the entire Earth, |
|---|
| 72 | the coordinate of the lower left corner would be -180.0, corresponding to a |
|---|
| 73 | longitude of 180 degrees West.</p></dd></dl><dl><dt><var>yLowerLeftCorner</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">float</tt></td></tr></table><p>Y coordinate of the lower-left corner of the raster.</p><p>The coordinate is for the corner of the lower-left cell, not the center of that |
|---|
| 74 | cell. For example, if the raster is a geographic projection of the entire Earth, |
|---|
| 75 | the coordinate of the lower left corner would be -90.0, corresponding to a |
|---|
| 76 | latitude of 90 degrees South.</p></dd></dl><dl><dt><var>cellSize</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">float</tt></td></tr></table><p>Size of each raster cell.</p><p>For example, if the raster is a geographic projection of the entire Earth, with |
|---|
| 77 | 720 columns and 360 rows, it would have a cell size of 0.5, corresponding to |
|---|
| 78 | 1/2 of a geographic degree.</p><p>The underlying data format requires the cells be square. It is not possible to |
|---|
| 79 | specify a cell size for each dimension.</p></dd></dl><dl><dt><var>nodataValue</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">float</tt> or <tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><tt class="class">None</tt></td></tr></table><p>Value that indicates a cell has no data.</p></dd></dl><dl><dt><var>offset</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">int</tt> or <tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum value:</td><td class="metadataValue"><code>1</code></td></tr></table><p>Number of bytes of the file to skip before reading the data.</p><p>This option is useful for skipping a headers or other metadata that |
|---|
| 80 | occur before the data. For example, if the file contains a 512 byte |
|---|
| 81 | header, set this parameter to 512 to skip over the header. If this |
|---|
| 82 | parameter is not specified, the data will be read starting at the |
|---|
| 83 | first byte of the file.</p></dd></dl><dl><dt><var>swapBytes</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True, the byte ordering of the binary raster will be reversed |
|---|
| 84 | prior to conversion.</p><p>This option is ignored if the raster data type is int8 or uint8.</p><p>This option is useful if the input file was produced on computer with a |
|---|
| 85 | processor architecture that uses a different byte ordering than your computer. |
|---|
| 86 | For example, if you are running on an Intel x86 processor, which uses "little |
|---|
| 87 | endian" byte ordering, you might use this option to process data produced by a |
|---|
| 88 | Sun SPARC processor, which uses "big endian" byte ordering.</p></dd></dl><dl><dt><var>transpose</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True, the image will be transposed (flipped about the diagonal |
|---|
| 89 | axis) prior to conversion. Use this option to fix an image that has |
|---|
| 90 | the east/west axis going up and down instead of left and right.</p></dd></dl><dl><dt><var>mirror</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True, the image will be flipped about the vertical axis prior |
|---|
| 91 | to conversion. Use this option to fix an image that is the "mirror |
|---|
| 92 | image" of what it is supposed to be.</p></dd></dl><dl><dt><var>flip</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True, the image will be flipped about the horizontal axis prior |
|---|
| 93 | to conversion. Use this option to fix an image that is |
|---|
| 94 | upside-down.</p></dd></dl><dl><dt><var>swapHemispheres</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True, the east and west hemispheres of the image will be |
|---|
| 95 | swapped. Use this option to change the orientation of a global image |
|---|
| 96 | from a 0 to 360 orientation centered on the Pacific ocean to a -180 to |
|---|
| 97 | +180 orientation centered on the Atlantic ocean, or visa versa.</p></dd></dl><dl><dt><var>where</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">unicode</tt> or <tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">1</td></tr></table><p>SQL WHERE clause expression that specifies the subset of rows to |
|---|
| 98 | process. If this parameter is not provided, all of the rows will be |
|---|
| 99 | processed. If this parameter is provided but the underlying database |
|---|
| 100 | does not support WHERE clauses, an error will be raised.</p><p>The exact syntax of this expression depends on the underlying database |
|---|
| 101 | and the type of connection used to access it. If you are using the |
|---|
| 102 | ArcGIS geoprocessor to access the database, ESRI recommends you |
|---|
| 103 | reference fields using the following syntax:</p><ul><li>If you're querying ArcInfo coverages, shapefiles, INFO tables or |
|---|
| 104 | dBASE tables (.dbf files), enclose field names in double quotes in |
|---|
| 105 | the SQL expression: "MY_FIELD".</li><li>If you're querying Microsoft Access tables or personal |
|---|
| 106 | geodatabase tables, enclose field names in square brackets: |
|---|
| 107 | [MY_FIELD].</li><li>If you're querying ArcSDE geodatabase tables, an ArcIMS feature |
|---|
| 108 | class, or an ArcIMS image service sublayer, don't enclose field |
|---|
| 109 | names: MY_FIELD.</li></ul></dd></dl><dl><dt><var>orderBy</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">list</tt> of <tt class="class">unicode</tt>, or <tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">0</td></tr></table><p>Fields that will be used to sort the rows (i.e., the columns |
|---|
| 110 | specified in the ORDER BY clause of a SQL SELECT statement). If no |
|---|
| 111 | fields are provided, the rows will be sorted in the default order |
|---|
| 112 | determined by the underlying database. If this parameter is provided |
|---|
| 113 | but the underlying database does not support ORDER BY clauses, an |
|---|
| 114 | error will be raised.</p><p>In addition to specifying the ORDER BY fields, you must also specify |
|---|
| 115 | the sort direction for each field.</p></dd></dl><dl><dt><var>directions</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">list</tt> of <tt class="class">unicode</tt>, or <tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">0</td></tr></table><p>List of strings, either 'Ascending' or 'Descending', that specify |
|---|
| 116 | the sort directions for the ORDER BY fields. If this parameter is |
|---|
| 117 | provided but the underlying database does not support ORDER BY |
|---|
| 118 | clauses, an error will be raised.</p></dd></dl><dl><dt><var>skipExisting</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True, processing will be skipped for output files that already exist.</p></dd></dl><dl><dt><var>overwriteExisting</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">bool</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><code>False</code></td></tr></table><p>If True and skipExisting is False, existing output files will be overwritten.</p></dd></dl><dl><dt><var>basePath</var></dt><dd><table cellpadding="0" cellspacing="0" style="margin-top: 1.0em;"><tr valign="baseline"><td class="metadataTitle">Python type:</td><td class="metadataValue"><tt class="class">unicode</tt> or <tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Default value:</td><td class="metadataValue"><tt class="class">None</tt></td></tr><tr valign="baseline"><td class="metadataTitle">Minimum length:</td><td class="metadataValue">1</td></tr><tr valign="baseline"><td class="metadataTitle">Maximum length:</td><td class="metadataValue">255</td></tr><tr valign="baseline"><td class="metadataTitle">Must exist:</td><td class="metadataValue">No</td></tr></table><p>Base path to prepend to relative paths.</p><p>If any of the input paths (or output paths, if this method has |
|---|
| 119 | outputs) obtained from the table are relative paths, they will be |
|---|
| 120 | converted to absolute paths prior to processing, as follows:</p><ul><li>If a base path is provided, it will be prepended to the relative |
|---|
| 121 | path.</li><li>Otherwise, if the ArcGIS geoprocessor has been initialized and the |
|---|
| 122 | geoprocessing workspace has been set (i.e. the Workspace property of |
|---|
| 123 | the geoprocessor is not empty), it will be prepended to the relative |
|---|
| 124 | path.</li><li>Otherwise, the current working directory for the executing process |
|---|
| 125 | will be prepended to the path. If you have not explicitly changed |
|---|
| 126 | the working directory, it is usually the directory that contains the |
|---|
| 127 | Python interpreter (e.g., on Windows computers, it would be |
|---|
| 128 | C:\Python24, if you're running Python 2.4).</li></ul></dd></dl><div class="navigation"><div class="online-navigation"><p></p><hr /><table align="center" width="100%" cellpadding="0" cellspacing="2"><tr><td class="online-navigation"><a title="ToArcInfoASCIIGridList Method" href="Method_GeoEco.DataManagement.BinaryRasters.BinaryRaster.ToArcInfoASCIIGridList.html?format=raw"><img src="previous.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Previous Page" /></a></td><td class="online-navigation"><a title="BinaryRaster Class" href="Class_GeoEco.DataManagement.BinaryRasters.BinaryRaster.html?format=raw"><img src="up.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Up one Level" /></a></td><td class="online-navigation"><a title="GeoEco.DataManagement.Directories Module" href="Module_GeoEco.DataManagement.Directories.html?format=raw"><img src="next.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Next Page" /></a></td><td align="center" width="100%">GeoEco Python Reference</td><td class="online-navigation"><a title="Table of Contents" href="TableOfContents.html?format=raw"><img src="contents.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Table of Contents" /></a></td><td class="online-navigation"><a title="Module Index" href="ModuleIndex.html?format=raw"><img src="modules.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Module Index" /></a></td><td class="online-navigation"><img src="blank.png?format=raw" border="0" align="bottom" height="32" width="32" alt="" /></td></tr></table><div class="online-navigation"><b class="navlabel">Previous:</b> <a class="sectref" href="Method_GeoEco.DataManagement.BinaryRasters.BinaryRaster.ToArcInfoASCIIGridList.html?format=raw">ToArcInfoASCIIGridList Method</a> <b class="navlabel">Up:</b> <a class="sectref" href="Class_GeoEco.DataManagement.BinaryRasters.BinaryRaster.html?format=raw">BinaryRaster Class</a> <b class="navlabel">Next:</b> <a class="sectref" href="Module_GeoEco.DataManagement.Directories.html?format=raw">GeoEco.DataManagement.Directories Module</a> </div><hr /><span class="release-info">Marine Geospatial Ecology Tools version 0.7a12</span></div></div></body></html> |
|---|