Questions tagged [error-999998]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
81 views

Error 999998 Saving Raster with Arcpy

To start, I found a similar question posted on stack exchange here, but I am not using the zonal statistics tool, which the answer to that question is based on. With that out of the way, I'm ...
1
vote
1answer
29 views

Deleting shapefiles and rasters using arcpy

I am trying to delete a series of files from a gdb and I am encountering suprising difficulties doing so. When I test my procedure in one of the files, let's call it 'yy.shp'This is what I do: from ...
2
votes
1answer
189 views

arcpy add rasters using raster calculator [duplicate]

what I want to do is add multiple raster layers stored in FGDB together using the raster calculator in arcpy To start off I have seen this question Using Loop with Raster Calculator in ArcPy? this ...
0
votes
1answer
100 views

Error with CellStatistics arcpy python script

I have about 20 raster files in a directory. I want to sum all the rasters into one new raster. The code I wrote was: currentDir=os.getcwd() tempDir=currentDir+'\\tmp' arcpy.CheckOutExtension("...
0
votes
1answer
198 views

Error 99998 when running batch operations?

I'm running a fairly large script in batch. I've tried it two times now, at it crashes at about 4 hours in and chrashes maybe 20 min into the second batch, giving me the dreaded 99998 error. I've ...
3
votes
1answer
626 views

Error 999998 when saving raster dataset after using any raster algebra functions in ArcPy?

I'm getting the following error without any documentation whenever I attempt to save a raster dataset after having used any algebraic functions (with any other raster or constant): Traceback (most ...
4
votes
1answer
350 views

Zonal statistics for millions of polygons

I have a shapefile with 31 million polygons and I want to extract statistics from a raster for each polygon. Whenever I use zonal statistics I get: ERROR 999998: Unexpected Error. Failed to execute (...
4
votes
1answer
250 views

Obtaining length of non projected feature (gcs_wgs_84) in meters instead of decimal degrees?

I could not find a post which answered to my problem and I hope I didn't miss it, in case I did I apologize. I'm working with Arcgis 10 and I have a multiple lines feature with gcs_wgs_1984 ...
3
votes
2answers
3k views

Debugging Error 999998 in ArcPy?

I found an RuntimeError: ERROR 999998: Unexpected Error when lunching Arcpy in my ArcGis 10.1 such as this: Runtime error Traceback (most recent call last): File "", line 50, in File "c:\...
4
votes
1answer
1k views

Scale raster in ArcGIS using raster calculator

I have a raster with values ranging from 0 to 8991130624. This raster is actually the result of a cost distance analysis. I want to scale the raster to range from 0 to 1 and take the inverse? so ...
10
votes
3answers
5k views

How to reclassify a very large land cover dataset?

Consider the NLCD2001 Land Cover dataset for Alaska (download link). I need to reclassify this dataset so that only pixels of value 41, 42, and 43 are preserved; all other pixel values should become ...
4
votes
2answers
110 views

Splitting worldwide roads into multiple road datasets with less than threshold number of features?

I want to split a worldwide 'road dataset' into multiple grids/blocks-extents, depending on the amount of features resides in that block-extent. If the amount of features(inside that block) is still ...
3
votes
4answers
12k views

ERROR 999998: Unexpected Error

I’m new with Arc 10, and I'm struggling alot. When using Geoprocessing I’m getting the same error or message again and again. "ERROR 999998: Unexpected Error" I have checked all the settings I can ...