Re: Solution to: [Beginner question] Raster to ASCII conversion

2010-11-15 Thread MRAB
On 15/11/2010 20:14, Becky Kern wrote: Hi users, Found a solution to my Raster to ASCII conversion problem, so I thought I'd post. My raster was created in ArcGIS 9.3 as an ESRI GRID (folder with associated info folder). I needed to use the ListRasters method (see http://webhelp.esri.com/arcgisde

Solution to: [Beginner question] Raster to ASCII conversion

2010-11-15 Thread Becky Kern
Hi users, Found a solution to my Raster to ASCII conversion problem, so I thought I'd post. My raster was created in ArcGIS 9.3 as an ESRI GRID (folder with associated info folder). I needed to use the ListRasters method (see http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=958&pid=905&topi

Re: [Beginner question] Raster to ASCII

2010-11-14 Thread Tim Chase
On 11/14/2010 01:07 PM, Becky Kern wrote: import arcgisscripting gp = arcgisscripting.create(9.3) InRaster = "C:/data/raster1" OutAsciiFile = "C:/data/raster2ascii.asc" gp.RasterToASCII_conversion(InRaster, OutAsciiFile) The error message: arcgisscripting.ExecuteError: Failed to execute. Parame

Re: [Beginner question] Raster to ASCII

2010-11-14 Thread MRAB
On 14/11/2010 19:07, Becky Kern wrote: Hi users, I'm using Python 2.5 (in concert with ArcGIS 9.3) to convert a raster to an ASCII file. I used the code (listed below) several weeks ago to successfully do the conversion, but when I tried to replicate it a few days ago, I got an error message. imp

[Beginner question] Raster to ASCII

2010-11-14 Thread Becky Kern
Hi users, I'm using Python 2.5 (in concert with ArcGIS 9.3) to convert a raster to an ASCII file. I used the code (listed below) several weeks ago to successfully do the conversion, but when I tried to replicate it a few days ago, I got an error message. import arcgisscripting gp = arcgisscriptin