Questions tagged [error-999999]

"Error 999999: Error executing function" - a generic error in Esri ArcGIS products without a specific error ID. Basically it means "uh-oh something bad happened".

Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

Wrong Data Type for my Python Script Tool?

I've got the following script and want to run it in the ModelBuilder. import arcpy, os dem = r'C:\folder\dem.tif' out_folder = r'C:\outfolder' epsgs = range(32601,32661) + range(32701,32761) for epsg ...
1
vote
1answer
99 views

ERROR 999999 when mosaicing GeoTIFFs in ArcGIS

I have been trying to use the mosaic tool in ArcMAP to merge several GeoTIFFs together, using BLEND as Mosaic Operator and LAST as Mosaic Colormap Mode. I placed all files that I want to merge in the ...
0
votes
1answer
846 views

ModelBuilder: Error 999999 “Failed to copy raster dataset”

I want to run the "Project Raster" tool in the ModelBuilder of ArcMap but I get the "ERROR 999999: Error executing function. Failed to copy raster dataset." and I have no reason why. Input is a ...
0
votes
1answer
123 views

Unable to open feature class - Failed to execute (Raster to Polyline)

I'm working in ArcGIS 10.4.1 in the ModelBuilder with the iterate feature selection iterator. Everything works out just fine. But in the end I would like to convert my raster-output via "Raster to ...
-1
votes
1answer
157 views

ArcPy convert raster TIFF to PNG

ArcGIS 10.2 and I use ArcPy and I have create a ArcPy script. I want my final raster from script to create two raster datasets with different extensions, a TIFF extension and a PNG extension. Here is ...
-1
votes
1answer
460 views

Error 999999 with topo to raster

I'm trying to create a raster from contours and some points with an elevation field but when I excecute I get this error : Executing: TopoToRaster "pts_drones ELEVATION PointElevation;courbes_5m ...
0
votes
1answer
35 views

Image segmentation error 999999 with NAIP in ArcMap?

I'm trying to do object-based image analysis on a portion of the NAIP 2016 aerial imagery for Washington (4-band, 8-bit unsigned). Image: The NAIP file I'm using is accessed through a USDA server. To ...
0
votes
1answer
110 views

Topology error in ArcGis

I am trying to intersect a large feature class (118692 elements) with a grid (58000 elements) but I get an error message. Traceback (most recent call last): File "Path/InterJoin.py", line 24, in &...
3
votes
1answer
56 views

Python code to count business days in ArcGIS field calculator gives ERROR 999999?

I'm trying to field calculate using a python script the number of business days between two given dates. Right now the dates are hard coded, but once I get the script working I will pass dates from ...
2
votes
0answers
78 views

ArcGIS Web Mapping Service Extract By Mask Give 99999 Error

The USDA used to provide four-band NAIP imagery as TIFF tiles for each township (6x6 miles) in the USA. The 2013 data only available as an ArcGIS web-mapping service. Not being a big fan of ...
1
vote
1answer
243 views

Error 999999 in Zonal Statistics estimation using ArcPy?

I have multiple rasters saved in "Zonal.gdb". All the rasters in "Zonal.gdb" and "TownWilson_PrjUTM" have projected coordinates "WGS_1984_UTM_Zone_15N". I want to clip each raster to the extent in the ...
3
votes
1answer
235 views

Complicated expression for Calculate Field for arcpy

I have a working formula that I can put in the Field Calculator which I'd like to use in my python code: .3-.001*Log ( [Field1]+1 )-.02*Log ( [Field2]+1 )-.04*Log ( [Field3]+1 ) My code: ...
0
votes
1answer
204 views

Creating TIN in standalone ArcPy script for ArcGIS Pro?

I'm trying to create a TIN from contour data. My program will actually create an empty TIN, but it will still give me an error. Below is my code: import arcpy arcpy.env.workspace = r"C:\Users\Aliza\...
1
vote
1answer
171 views

Passing File from Python Script to ModelBuilder tool?

I have a script that produces a text file. The name of the text file it creates is determined by the input parameters chosen by the user. The user chooses what Layer, Stress Period, and Time Step to ...
1
vote
1answer
235 views

Failure to Iteratively Calculate Zonal Statistics as Table ArcGIS

I want to calculate mean luminosity for a district using several rasters and a shapefile with administrative borders. Since I have many files, I want to do the operation iteratively using a model ...
3
votes
2answers
490 views

Writing Data Driven Pages' scale into driving layer's attribute table with arcpy

I want to write a scale value that is changing for every Data Driven Page (since using map extent best-fit so that each polygon in the driving layer would be whole in "its" exported map) to the table ...
0
votes
1answer
711 views

The table was not found. Reclassify Arcpy

I am new to Python and trying to determine what is wrong with the following code: -- error message -- arcgisscripting.ExecuteError: ERROR 999999: Error executing function. The table was not ...
2
votes
1answer
128 views

Debugging ModelBuilder Error 999999?

I have to build a model for my class midterm which requires us to take a .csv file and convert it to a table, then take the table and create an XY event layer which will be used to create a new ...
1
vote
1answer
110 views

ERROR 99999 during arcpy.Project_management

I have a script that I run in ArcMap 10.5.1 that iterates through feature classes in a file geodatabase and projects each one to a WGS84 shapefile. This works smoothly for most feature classes in the ...
1
vote
1answer
61 views

Performing Project_management in batch using ArcPy?

import arcpy import os fc = [] walk = arcpy.da.Walk('C:/Wiley/P1/gis/OSM.gdb') outdir = "C:/Wiley/P1/gis/HK80.gdb/osm" for root, dirs, datasets in walk: for ds in datasets: fc.append(...
-2
votes
1answer
373 views

Search Cursor to count not null values records?

I am trying to achieve print all featureclass, total count, notNullvalues. I am trying hard on this code. but getting Error: suggest how can I code better and working. I am not regular python user. ...
2
votes
1answer
362 views

listing multiple files for a merge (arc)python

I have created a script to convert GPX into features with python. This script works but now I want to add all these separate feature classes (point features) in one featureclass/layer and convert it ...
1
vote
0answers
427 views

Reclassify raster error 999999 [closed]

I need to reclassify unsigned integer raster data. I ran Calculate Statistics on the Raster, tried Reclassify, but keep getting Error 999999: Error Executing Function. The description for the error ...
1
vote
3answers
389 views

ArcGIS: Error 999999 in spatial join

I am trying to assign attributes from one point layer to another point layer based on closest location. So I am trying to use a spatial join and generate the ArcPy code in order to ensure ...
2
votes
0answers
162 views

Why does order of commands in raster processing matter? [closed]

My company has recently changed to ArcGIS 10.5 (from 10.1) and now some arcpy scripts that worked fine before don't run anymore. I am not completetly convinced this is actually the reasons of the ...
0
votes
2answers
118 views

ArcPy: 999999 ERROR when using AddJoin_management

I want to execute three joins in total. The first two joins work, but when I'm trying to join both resulting datasets I get the beloved 999999 ERROR. # sr tables for joins sr1Table = sr1Path + ".dbf" ...
0
votes
1answer
169 views

Calculating a field error

I have this table: And I want to create a field called "COSN2" which after the creation I want to fill it with three characters from the field "COS207". Than I wrote the following script: import ...
0
votes
2answers
385 views

Selecting table records by attribute if in Python list

I would like to create a subset of a table based on values in a Python list that I created from a search cursor. I have not been able to get the where_clause correct and keep getting errors. Here is ...
0
votes
1answer
92 views

Re-projecting Multiple Shapefiles using ArcPy?

I decided to re-project shapefiles from one coordinate system to another. I wrote the following script but am getting the execution Error 999999. Here is the script: import arcpy # input data is ...
3
votes
1answer
505 views

Summary Statistics with multiple case fields not working [closed]

While trying to calculate summary statistics in a table in a GDB, i get the following error: ERROR 999999: Error executing function. The table was not found. [OutputStats] Failed to execute (Summary ...
3
votes
2answers
192 views

Executing arcpy.createTable_management with parameters from arcpy.GetParameterAsText?

I'm trying to create a script tool in ArcMap that creates an attachment match table. The script fails giving this: Traceback (most recent call last): File "H:\py\PhotoMatch_test.py", line 40, in &...
3
votes
0answers
158 views

Failure using inline variable %Name% as output file name in ModelBuilder [closed]

I am using the following model to iterate through ASCII files and then use the reclassify tool: The model works very well if I use a generic name as the output file name, or even using an inline ...
2
votes
0answers
98 views

Define Overviews Tool Error when Iterating through Mosaic Datasets [closed]

I have multiple mosaic datasets in a file geodatabase. I need to run the Define Overviews tool on all the mosaic datasets. However, when I try to iterate through the mosaic datasets with ModelBuilder ...
1
vote
2answers
43 views

What is syntax of bool in arcpy.sa.ExtractByAttributes?

I want to extract specific values of raster layer. Use codes as follows: attExtract=arcpy.sa.ExtractByAttributes(outraster,'VALUE==8 | \ VALUE==9 | VALUE==...
2
votes
0answers
57 views

Debugging arcpy LasDatasetToRaster_conversion error 999999? [closed]

I have 40+ LAS Datasets (.lasd) that I am attempting to convert to rasters. Here is my code: import arcpy import os arcpy.env.workspace =r'F:\Shorelas' arcpy.env.overwriteOutput = True env = r'F:\...
2
votes
0answers
288 views

Add Join not working in ModelBuilder? [closed]

I'm trying to use Add Join in Modelbuilder but it keeps giving me an error message "generic error". Funny thing is, it works fine if I do one Join but I need to do several ones (about 200s or ...
2
votes
1answer
150 views

ArcGIS 10.1 ModelBuilder: Data displayed, Multiple ring buffer causes Error 999999

I am trying to make a flow of processes in ModelBuilder, connecting multiple tools: import polygon dissolved it, intersected with another files, and selected desired polygons by attributes("ZONA" = ...
2
votes
1answer
99 views

Getting 999999 error from ArcPy script to increment one field when another field contains 0?

Before I begin I should emphasise that my python knowledge is pretty limited; generally self taught or inspired by snippets I have found on here. I have a .dbf table, and I need to use python to ...
3
votes
0answers
58 views

Testing if ArcPy script will work with lower license level? [duplicate]

I was looking at the question Exporting feature class to SQLite database using ArcPy with ArcGIS Pro? which states at the end The problem is that I cannot use feature class to feature class ...
-1
votes
2answers
2k views

If Then Else Statement in Field Calculator using Python - ArcGIS 10.1

I am trying to populate a field [Hazard] based on the values in two other fields [Depth2D] and [Speed2D]. I have managed to write a code block in VB script that works but I really want to figure out ...
-1
votes
1answer
505 views

Export Query Layer to shapefile using arcpy [closed]

Composing a map using query layers in ArcGIS 10.4.1 (Basic) the final step is to backup the data used when the map is finalised. Exporting manually is straight forward. But using the conversion tool ...
1
vote
1answer
1k views

A column was specified that does not exist - Error when running Select Layer By Attribute tool

I have shapefiles in a folder that were created by using the Raster to Polygon tool to convert reclassified rasters to polygon shapefiles. Each has a field named 'GRIDCODE'. I now want to select ...
0
votes
1answer
62 views

Invalide charater error associated with “Select-Case” vba

Anyone see a problem with the following code. I keep getting a 999999 - invalid character error. Select Case [code] case 5112: x = "AP030" ' trunk<br /> case 5113: x = "AP030" ' ...
4
votes
1answer
402 views

Extract Multi Values to point error table was not found

Newbie to arcpy. Tried using this tool after successfully using Extract Value to Point tool with same data. I received the correct data appended to the attributes table. I would like to use the ...
1
vote
1answer
115 views

Adding join to table from Microsoft Access in ModelBuilder gives ERROR 999999?

I am working on a model in ArcMap (10.4.1) that calculates habitat suitability over a series of timesteps. The data needed to calculate habitat suitability at each timestep is stored in a specific ...
1
vote
0answers
23 views

problem to execute overlay analysis for multiple layer in python script [duplicate]

I wrote the code to get a series of weighted overly result for multiple layer in python script. But it showed some error massage. What can be the solution? import arcpy input1 = "D:\work\helath.gdb\...
1
vote
0answers
78 views

Error 'DBMS Table not found' when sharing some shapefiles as Runtime Content [closed]

I have a collection of shapefiles that I want to "Share as > ArcGIS Runtime Content". In this collection there are a few shapefiles that cause an error. If I access this function through the menu a "...
2
votes
1answer
97 views

ExecuteError: ERROR 999999 with “PointsToLine” function with a Point Feature class created by “MakeRouteEventLayer_lr”

I have an issue with the "PointsToLine" function in Python arcpy and in the tool dialog, the problem comes everytimes I use a POINT Feature Class (FC) created from the "Make Route Event Layer" ...
1
vote
0answers
126 views

ExtractSubDataset in ArcPy loop giving ERROR 999999? [closed]

In ArcMap, I've created a layer group that I would like to add extracted subdatasets from a file to. It is a .grb file and I've successfully done this with the provided "Extract Subdataset" tool. Is ...
2
votes
1answer
417 views

Zonal statistics for several rasters in ArcGIS

I am running this Zonal Statistics as a Table code for a single raster and it works: import arcpy, os destination_path= r'\\Mac\Home\Desktop\arc_stuff' shapefile= r'\\Mac\Home\Desktop\arc_stuff\...