Quantcast
Channel: Question and Answer » error-999999
Viewing all 12 articles
Browse latest View live

Script and model crashes after first iteration

$
0
0

I have a python script which dies after the first iteration. It dies on the second feature class to coverage. This also happened in modelbuilder, which is why I went to python hoping it would go away. I can create the coverage on the layer that crashes the script in the standalone tool, but once in the script, after the first iteration, it dies. It makes me think that there is something being held on to in memory by the script or modelbuilder that I am not aware of.

I have tried repairing geometry of the input dataset; ensuring it is singlepart; name chages. None has worked.

View image for error in image. It says invalid topology, but it works fine standalone.

enter image description here

import arcinfo, arcpy, os, sys
from arcpy import env
print 'Starting....'
env.OverWriteOutput = True
arcpy.SetProduct("ArcInfo")
import datetime
import time
ts = time.time()
st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S')
print st

tbx = arcpy.ImportToolbox(r"C:Program Files (x86)ArcGISDesktop10.1ArcToolboxToolboxesCoverage Tools.tbx", "COVG")
SDE = "C:\Users\david\AppData\Roaming\ESRI\Desktop10.1\ArcCatalog\p747.sde"
AVI = r"C:daviddeleteAVI.shp"
#AVI = "G:\ALPAC\Projects\P747\3_Landbase\Processing\AVI\AVI_20141216_Only_polynum.shp"
FMUs = r"C:daviddeletefmus2.shp"
#FMUs = r"\silver\clientsProjectsP7473_LandbaseLB1FileGeodatabaseAll_DataAll_Data.gdbALPAC_DataAdministrative_FMUs"
GDB1 = "\\silver\clients\Projects\P747\3_Landbase\LB1\Temp\"
FCView = "\\silver\clients\Psrojects\P747\3_Landbase\LB1\TEMP\FCView.lyr"
LayerU = r"G:ProjectsP7473_LandbaseLB1MultiunionTEMPUnion_Fwrd"
OutLOC = "\\silver\clients\Projects\P747\3_Landbase\LB1\multiunion\m_20150129\"
TableView = "\\silver\client\Projects\P747\3_Landbase\LB1\Temp\Tableview.lyr"

FieldMappings = arcpy.FieldMappings()
FieldMap1 = arcpy.FieldMap()
#arcpy.RepairGeometry_management(FMUs)
if arcpy.Exists(FCView):
    arcpy.Delete_management(FCView)

arcpy.MakeFeatureLayer_management(FMUs, FCView)

FieldMap1.addInputField(FMUs, 'FMU_NAME')
FieldMappings.addFieldMap(FieldMap1)

r = 1
for row in arcpy.SearchCursor(FCView):

    objectid = str(row.getValue("FMU_NAME"))
    #print '"FMU_NAME"= {}'.format(objectid)
    print 'Working on ' + objectid

    FMUNAME = GDB1 +  "FMU_" + objectid + ".shp"
    AVINAME = GDB1 + "AVI_" + objectid + ".shp"
    OUTCOV = OutLOC+ "MU_" + objectid
    OUTCOVPOLY = OutLOC+ "MU_" + objectid + " POLYGON"

    if arcpy.Exists(FMUNAME):
        arcpy.Delete_management(FMUNAME)
    if arcpy.Exists(AVINAME):
        arcpy.Delete_management(AVINAME)
    if arcpy.Exists(OUTCOV):
        arcpy.Delete_management(OUTCOV)
    if arcpy.Exists(GDB1+ "MUa_" + objectid):
        arcpy.Delete_management(GDB1+ "MUa_" + objectid)
    if arcpy.Exists(GDB1+ "FMU_" + objectid):
        arcpy.Delete_management(GDB1+ "FMU_" + objectid)
    if arcpy.Exists(TableView):
        arcpy.Delete_management(TableView)
    if arcpy.Exists(GDB1 + "AVICV_" + objectid):
        arcpy.Delete_management(GDB1 + "AVICV_" + objectid)
    if arcpy.Exists(GDB1 + "AVIa_" + objectid + ".shp"):
        arcpy.Delete_management(GDB1 + "AVIa_" + objectid + ".shp")

    arcpy.SelectLayerByAttribute_management(FCView, "NEW_SELECTION", '"FMU_NAME"=' + "'" + objectid + "'")

    print 'Creating FMU shape and coverage for clipping'

    arcpy.FeatureClassToFeatureClass_conversion(FCView , GDB1, "FMU_" + objectid, "#", FieldMappings)
    arcpy.FeatureclassToCoverage_conversion(FMUNAME + " POLYGON", GDB1 + "FMU_" + objectid, "", "DOUBLE")

    print 'Running clips'

    arcpy.Clip_COVG(LayerU, GDB1 + "FMU_" + objectid, GDB1+ "MUa_" + objectid)
    arcpy.Clip_analysis(AVI, FMUNAME, GDB1 + "AVI_" + objectid)

    #print 'Repairing geometry'

    #arcpy.RepairGeometry_management(GDB1 + "AVI_" + objectid + ".shp")

    print 'Turn AVI into coverage'

    #ERROR OCCURS HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    arcpy.FeatureclassToCoverage_conversion(AVINAME + " POLYGON", GDB1 + "AVICV_" + objectid, "", "DOUBLE")

    print 'Unioning the ' + objectid + " datasets"

    arcpy.Union_COVG(GDB1 + "AVICV_" + objectid, GDB1+ "MUa_" + objectid, OutLOC + "MU_" + objectid)

    #print 'Running multi-part to single-part'

    #arcpy.MultipartToSinglepart_management(GDB1 + "AVIa_" + objectid + ".shp", GDB1 + "AVI_" + objectid)

    print 'Calculating fields'

    arcpy.MakeTableView_management(OUTCOV +'\polygon', TableView)
    arcpy.AddField_management(TableView, "MKey", "LONG", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
    arcpy.CalculateField_management(TableView, "MKey", "( " + str(r) + " * 1000000 ) + !FID!", "PYTHON", "")
    arcpy.AddField_management(TableView, "AreaHA", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
    arcpy.CalculateField_management(TableView, "AreaHA", "!shape.area@hectares!", "PYTHON", "")

    print 'Deleting fields'

    arcpy.DeleteField_management(TableView, "U20#;U20-ID;U19#;U19-ID;U18#;U18-ID)

    #print 'Deleting fields'
    #if arcpy.Exists(SDE + objectid + "_tables_v2"):
    #    arcpy.Delete_management(SDE + objectid + "_tables_v2")

    #print 'Table to table'
    #arcpy.TableToTable_conversion(TableView, SDE2, objectid + "_tables_v2")

    #print 'Deleting fields'
    #arcpy.DeleteField_management(TableView, "FEATURE_TY;NAME;TS_BUFF;PLOT_TYPE;DISP_NUM;DISP_TYPE;LANDBASE;RIVBRK;FMU_NAME;MOSA;SLOPE;FIRE_NUMBE;BURNCODE;BURN_CLASS;YEAR;RFMA_NAME;HYD_FEAT;CRPRO_NAME;TYPE;PPA_STAT;DIDS_NUM;DIDS_TYPE;ID;WTRSHED;FN_TYPE;FN_NAME;MUNIC_TYPE;MUNIC_NAME;FMA_STATUS;FEATURE_NA;DFA_STATUS;HY_DIST;HY_SRCE;HY_FEATURE;POLYGON;OWNER_1;STATUS;OWNERSHIP;CATEGORY;OPEN_NUM;COWPER_LOS;RSIID;POLY_NUM")

    ts = time.time()
    st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S')
    print st

    print 'Next....'

    r += 1

python 2.7, Arcinfo license and 10.2 Arc


How to use python in arcgis to create new layer from selection and export into individual maps

$
0
0

I am trying to create county level maps by looping through a master file for each county. However, I get an error message when I try to run the code. I’m not sure what is wrong with my code and I would like to know if the loops are coded correctly. Could someone help me find out what’s wrong?

## Import system modules
import arcpy 

## Set workspace where output files will be saved
# NOTE: background processing was disabled in geoprocessing options in order to access current map
# NOTE: geoprocessing output overwrite enabled in geoprocessing options to allow replacement of previous runs
from arcpy import env
origSetting = env.overwriteOutput # define variable to be used at end of code to change setting back to default
env.overwriteOutput = True # change environment setting to overwrite output
arcpy.env.workspace = r"T:HCIDataInsurance_187Maps" # define workspace where output files would be saved

## Identify mapping document to be referenced in code
mxd = arcpy.mapping.MapDocument("CURRENT") # define map document currently opened in ArcGIS
#mxd = arcpy.mapping.MapDocument(r"T:HCIShapefilesInset_MapsCountyInsetMaps.mxd")     # define map document based on file location
df = mxd.activeDataFrame # define current data frame
mxd.author = "Jacqueline Chan" # Set map author

## create local variables
#counties = arcpy.mapping.Layer("T:HCIShapefilesCounties2010.lyr") # create variable for shapefile directly referencing layer in file directory
masterfile = "census_tracts2010" # create variable for shapefile referencing layer in current map
field = "County_Name" # create variable for fields
cursor = arcpy.SearchCursor(masterfile) # create variable for loop
names = [] # empty list
basemap = ["Cities","tl_rd13_06_prisecroads_I","tl_rd13_06_prisecroads_M","tl_rd13_06_prisecroads_C","tl_rd13_06_prisecroads_U","tl_rd13_06_prisecroads","tl_rd13_06_prisecroads_S","Census tracts","Counties2010"] # create list of layers in base map
dummy = arcpy.mapping.Layer(r"T:HCIDataInsurance_187Mapsdummy.lyr")

## Loop through a list of feature classes in the workspace to create new layer from selection
for row in cursor: # iterate for each row in dataset
    names.append(row.getValue(field)) # store name of field in row within list
    if arcpy.Exists(row.getValue(field)): # delete feature class if it already exists before using copy feature to recreate it
        arcpy.Delete_management(row.getValue(field))
    whereClause = '"County_Name" = '' + row.getValue(field) + "'"     # Create a clause to select only the current record
    arcpy.Select_analysis(masterfile,row.getValue(field),whereClause)            
    arcpy.CopyFeatures_management(masterfile, row.getValue(field)) # Write the selected features to a new featureclass (this copies the layer selection)
    input = arcpy.mapping.ListLayers(mxd,"row.getValue(field)",df)[0]
    arcpy.mapping.UpdateLayer(df,input,dummy,True)
    arcpy.SelectLayerByAttribute_management(masterfile,"NEW_SELECTION",whereClause) # Select layer by county name
    df.zoomToSelectedFeatures()
    arcpy.SelectLayerByAttribute_management(masterfile, "CLEAR_SELECTION") # clear selection to prepare for next loop
    #Turn of all layers in map except for county layer
    for lyr in arcpy.mapping.ListLayers(mxd, '', df): # iterate for each layer in the map layer list
        for layer in names: # iterate for each map layer equal to value in "names" list
            if lyr.name == layer: # if layer name is equal to value in "names" list, then turn off layer
                lyr.visible = False
            if lyr.name in basemap: # if layer name is equal to value in "basemap" list, then turn on layer
                lyr.visible = True
    arcpy.RefreshActiveView() # refresh ArcMap view to reflect changes made from python code
    # Loop through each layer, turn it on and export map as JPEG
    for lyr in arcpy.mapping.ListLayers(mxd, '', df): # iterate for each layer in the map layer list
        for layer in names: # iterate for each map layer equal to value in "names" list
            if lyr.name == layer: # if layer name is equal to value in "names" list, then iterate steps below
                lyr.visible = True # turn on map layer
                arcpy.RefreshActiveView() # May want to test without this -- ArcMap might export correctly without need for refresh active view
                arcpy.mapping.ExportToJPEG(mxd,"T:\HCI\Data\Insurance_187\Maps" + lyr.name + "_InsetMap.jpeg","PAGE_LAYOUT")
                lyr.visible = False # turn off map layer

del row, cursor, masterfile, mxd, input, dummy, basemap, lyr, layer, names # delete local variables from session

env.overwriteOutput = origSetting # reset data overwriting back to default setting

Here’s the error message I get:

Runtime error Traceback (most recent call last): File “”,
line 34, in File “c:program
filesarcgisdesktop10.2arcpyarcpyarcobjectsarcobjects.py”, line
1048, in getValue
return convertArcObjectToPythonObject(self._arc_object.GetValue(*gp_fixargs(args)))
RuntimeError: ERROR 999999: Error executing function.

Using ModelBuilder to Iterate and extract subdatasets with in hdf file and project subdatasets?

$
0
0

I have a large file of n-files. I am interested in using the model builder within GIS to extract subdataset fields within a Modis hdf file. I am particularly interested in extracting Aerosol data from the hdf packed file. I have to do this over several days (to years) worth of data. Once I have extracted these subdatasets within the hdf file, I would need to then project the subdataset into WGS1984.

I am interested in the model building approach, so I can learn its functionality. I know python may provide another solution, however, for the moment, I am interested in sticking with ModelBuilder (for educational purposes…).

I have attempted to create a model, but due to limited experience with this, I am confused as to why it is erroring out. I thought as long as I iterate within all the hdf files within my directory, and pull the subdatasets, then project those subdatasets, I would have usable layers. This is not the case.

Model_Builder_Attempt
enter image description here

I am using ArcGIS 10.2 for Desktop.

Error 999999 “The table already exists”“No spatial reference exists” when using “import arcserver”

$
0
0

I’m hoping someone can help me understand why I’m getting this error. I have a python script tool that throws this error when it is run through the task scheduler:

Traceback (most recent call last):
  File "C:Image_ProcessingPython_Scripts_Automation_CACreate_Report_Automation.py", line 474, in <module>
    arcpy.RasterCatalogToRasterDataset_management(pathRasterCatalog, scratchGDB + "/raster1", where_clause="Name = '" + sSingleImage + "'")
  File "c:program filesarcgisserverarcpyarcpymanagement.py", line 13319, in RasterCatalogToRasterDataset
    raise e
ExecuteError: ERROR 999999: Error executing function.
The table already exists.
No spatial reference exists.
Failed to execute (RasterCatalogToRasterDataset).

However, when I run it through arcmap, it runs fine. The only difference between the two instances is when I run it through the task scheduler, I use import arcserver, and when I run it through arcmap, I have to comment out that line. At first I thought it was something to do with the raster catalog, but then I started getting the exact same error when I added an arcpy.Clip_management() tool to the code, which doesn’t use the raster catalog. And I’ve checked the spatial references on all of the suspect data, and it does exist. So I’m at a loss. Is it something to do with the scratch GDB?

Update Cursor with Date Issue [closed]

$
0
0

My dates (maxDate, minDate, avgDate) all print out with the correct datetime format, but I am unsure if the problem is how the loop is written to update the cursor.

Error:

line 102, in updateRow
return convertArcObjectToPythonObject(self._arc_object.UpdateRow(*gp_fixargs(args)))
RuntimeError: ERROR 999999: Error executing function.

Code:

arcpy.env.workspace =  r"C:ForChriswetMatchsSBA_wetlandTR_intSBA.gdb"
fcs = arcpy.ListFeatureClasses()
years = []
yearsJD = []
for fc in fcs:
    arcpy.AddField_management(fc, "Max_Year", "Date")
    arcpy.AddField_management(fc, "Min_Year", "Date")
    arcpy.AddField_management(fc, "Avg_Year", "Date")

    cursor = arcpy.SearchCursor(fc)
    for row in cursor:
        fDate = row.getValue("Final_Date")
        a = (14 - fDate.month)//12 ## Julian date calc
        y = fDate.year + 4800 - a
        m = fDate.month + 12*a - 3
        JD = fDate.day + ((153*m + 2)//5) + 365*y + y//4 - y//100 + y//400 - 32045
        yearsJD.append(JD)
        years.append(fDate) 
    averageJD = sum(yearsJD) / len(yearsJD) ## calculates average julian date
    az = averageJD + 32044 ## convert julian date to calendar date
    b = (4*az + 3)//146097
    c = az - (146097*b)//4
    d = (4*c + 3)//1461
    e = c - (1461*d)//4
    n = (5*e + 2)//153    
    aday = e + 1 - (153*n + 2)//5
    amonth = n + 3 - 12*(n//10)
    ayear = 100*b + d - 4800 + n/10
    avgDate = datetime.datetime(ayear, amonth, aday)
    minDate = numpy.min(years)
    maxDate = numpy.max(years)

    cursor2 = arcpy.UpdateCursor(fc)
    for row2 in cursor2:
        row2.setValue("Max_Year", maxDate)
        row2.setValue("Min_Year", minDate)
        row2.setValue("Avg_Year", avgDate)
        cursor.updateRow(row2)
    del years[0:len(years)] ### Empties List
    del yearsJD[0:len(yearsJD)]

Out of Memory and TIN internal processing error ArcGIS

$
0
0

So i have been developing a python script to streamline the process from converting a raw XYZ file to a full blown terrain file. However, in the intermediate process, I am performing a surface difference to compare the existing surface versus a previous surface and then creating a terrain based on that.

I get the following two errors: Error 9999 Out of Memory or Error 9999 TIN Internal Processing Error

I am using ArcGIS 10.2.2 with Python 2.7
Intel Core i7 3740QM CPU 2.70 Ghz with 8 GB of RAM, 64bit operating system.

Bottom Line. I get a out of memory/TIn internal error when my script is performing a surface difference. How can i improve the performance?

Point to raster conversion works as a tool in arcmap but fails when attempted with identical parameters in a script

$
0
0

I’m working on a script that will automate a stream delineation protocol given a DEM and a culvert layer. I was having difficulty troubleshooting problems with the point to raster conversion tool so I ran the tool in arcmap (successfully) and copied the python snippet from the results. I then closed arcmap to avoid lock problems and tried running the script (shown with my original code commented out) with the snippet. It produced the same error I encountered with my code.

Any advice on what might be causing this error would be greatly appreciated as would any general advice on my code (redundancy, readability, etc.). General troubleshooting tips for this kind of thing would be great as well.

Code:

    # Environment Set-Up and parameter initialization
import arcpy
from arcpy import *
from arcpy.sa import *
from arcpy.cartography import *
arcpy.env.overwriteOutput = True
arcpy.CheckOutExtension ("Spatial")

    #Provide the full filepath for you working geodatabase here. ##DATASET STARTING NAME IS "LIDAR_DEM", MAKE A COPY OF YOUR ORIGINAL AND CALL IT THAT## 
WSV = r"C:UsersrdcoopercaroselliRowynProjectsLiDAR_WorkAutomationTestAutomation_try2.gdb"
arcpy.env.workspace = WSV

    #Provide the culvert datset here
CulvertFeature= WSV+'/Culverts'

    #Get the cell size, pixel type, desired operating extent, and coordinate system of the LiDAR DEM. Set up DEM as Snap Raster for raster calculations
DEM = Raster (WSV+"/LIDAR_DEM")
CellSize = GetRasterProperties_management (WSV+"/LIDAR_DEM", "CELLSIZEX")

ptype    = DEM.pixelType
code     = {'U1':'1_BIT','U2':'2_BIT','U4':'4_BIT','U8':'8_BIT_UNSIGNED','S8':'8_BIT_SIGNED','U16':'16_BIT_UNSIGNED', 'S16':'16_BIT_SIGNED',
           'U32':'32_BIT_UNSIGNED','S32':'32_BIT_SIGNED','F32':'32_BIT_FLOAT','F64':'64_BIT'}
ptype    = code[ptype]

arcpy.env.extent     = DEM.extent

arcpy.env.snapRaster = WSV+"/LIDAR_DEM"

     # Convert Culvert Shapefile to Raster with same cell size as DEM
#CreateRasterDataset_management (WSV, "CulvertRaster", CellSize, ptype, DEM,1)     
#PointToRaster_conversion(CulvertFeature,"ELEV",WSV+"/CulvertRaster","MOST_FREQUENT","NONE",CellSize)
#CulRast = Raster (WSV+"/CulvertRaster")

# Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script
# The following inputs are layers or table views: "Culverts"
PointToRaster_conversion("Culverts","ELEV","C:/Users/rdcoopercaroselli/RowynProjects/LiDAR_Work/AutomationTest/Automation_try2.gdb/CulRast","MOST_FREQUENT",
                         "NONE","C:/Users/rdcoopercaroselli/RowynProjects/LiDAR_Work/AutomationTest/Automation_try2.gdb/LIDAR_DEM")

Error message:

Traceback (most recent call last):
  File "C:UsersrdcoopercaroselliRowynProjectsLiDAR_WorkAutomationTestR05_DRAINAGE_DELINEATOR_Backup.py", line 40, in <module>
    "NONE","C:/Users/rdcoopercaroselli/RowynProjects/LiDAR_Work/AutomationTest/Automation_try2.gdb/LIDAR_DEM")
  File "C:Program Files (x86)ArcGISDesktop10.1arcpyarcpyconversion.py", line 2393, in PointToRaster
    raise e
ExecuteError: ERROR 999999: Error executing function.
The table was not found. [CulRast]
The table was not found. [fras_bnd_CulRast]
No spatial reference exists.
Failed to execute (PointToRaster).

This error message alternately appears with and without a long series of
“A column was specified that does not exist.” messages

Arcpy – (Error 999999) Table Already Exists Project Management

$
0
0

My code is supposed to clip features within a temporary directory, project them and place them into a specific feature dataset within a geodatabase. Then the code goes back and deletes the temporary files in the temporary directory.

The code runs through a list to do this. The first iteration through works flawlessly but when the second iteration begins I receive the following error:

Traceback (most recent call last):
File “Q:AdminAOI_GeneratorScriptsCreate_AOI_v1.1_Pick.py”, line 219, in
arcpy.Project_management(temp + ” + fc + “_” + ds + “.shp”, data + “” + ds + “” + fc, outCS)
File “c:program files (x86)arcgisdesktop10.1arcpyarcpymanagement.py”, line 7822, in Project
raise e
ExecuteError: ERROR 999999: Error executing function.
The table already exists.
Failed to execute (Project).

I already know that the error occurs during the project_management, I am just unsure why it happens.

Please see the code below.

for buff, ds in n_list:
    def listFcsInGDB(gdb):
            env.workspace = gdb
            fcs = []
            for fds in arcpy.ListDatasets('','feature') + ['']:
                    for fc in arcpy.ListFeatureClasses('','',fds):
                            fcs.append(os.path.join(fds,fc))
            return fcs
    fcs = listFcsInGDB(gdb)
    for fc in fcs:

            arcpy.Clip_analysis(fc,r"Q:\Admin\AOI_Generator\Shapefiles\Buffer\" + buff, temp + '\' + fc + "_" + ds)
            arcpy.Project_management(temp + '\' + fc + "_" + ds + ".shp", data + "\" + ds + "\" + fc, outCS)
            arcpy.Delete_management(temp + '\' + fc + "_" + ds + ".shp")
    del fcs

Python importing Arcinfo to Python 2.7.11 Script

$
0
0

I am having trouble getting an arcinfo license using a python script. When I try to call “import arcinfo”, making sure it is my first line of code because of legacy issues, I get the following error

Traceback (most recent call last):
  File "location of file here, changed for privacy", line 7, in <module>
    import arcinfo, arcpy, os, sys # Options: arcview, arceditor, arcinfo
  File "C:Program Files (x86)ArcGISDesktop10.1arcpyarcinfo.py", line 18, in <module>
    gp.setProduct("ArcInfo")
RuntimeError: ERROR 999999: Error executing function.

Anyone know what could be causing this? I’ve imported arcpy sucessfully into the python script, and I have added system paths to the Desktop10.1.pth

Add Join issue with ModelBuilder?

$
0
0

I am trying to do a simple Add Join within ModelBuilder but it keeps throwing the 99999 error. What is going wrong? I have even tried to create a Table View for the table I am joining to a feature dataset (via Make Feature Layer) but to no avail.
Is there another way around this?

enter image description here

Minimum bounding geometry with “group” option gives error in ArcMap

$
0
0

The minimum bounding geometry tool is working fine on my data, but when I try using the “group” option, I get ERROR 999999: Error executing function.

I would like generate two polygons, A and B, which are the convex hull of their corresponding group of points. This is what the attribute table of my point shapefile looks like:

lat  long  ID
Ax1  Ay1   nameA
Ax2  Ay2   nameA
Ax3  Ay3   nameA
Bx1  By1   nameB
Bx2  By2   nameB
Bx3  By3   nameB

I can run the MBG (Minimum Bounding Geometry) tool for all the data and get one big polygon. But this isn’t what I want; I want individual polygons based on their ID. When I use the “group” function within the MBG tool, I select LIST and my ID column. But the process fails and I get the aforementioned error.

Other details:
I am using ArcMap 10.3.1.
The exact error log is as follows:

Input features

  • sheet$ Events
  • Geometry Type: Convex Hull
  • Group Option: List
  • Group Field: ID
  • Add geometry characteristics as attributes to output: NO_MBG_FIELDS

Messages:

ERROR 999999: Error executing function.

Failed to execute (MinimumBoundingGeometry)

Invalid Topology [Topoengine error] from ArcGIS for Desktop?

$
0
0

Using ArcGIS 10.1 for Desktop, I’m trying to run the Identity function on two large data sets but it fails every time. I don’t think it is a lack of hardware as I can run other processes on the same data sets.

I’ve already updated software, and added the 64 bit geoprocessing add-in, checked and repaired geometry, and done the fix in KB29559 (set ARCTMPDIR env variable to a writable local folder).

Executing: Identity DudleyStamp OA2011 "D:Case StudiesNational2National.gdbDudleyStampOA11" ALL "1 Meters" NO_RELATIONSHIPS

Start Time: Wed May 08 21:11:43 2013
Reading Features...
Processing Tiles...
Assembling Tile Features...
ERROR 999999: Error executing function.
The table was not found.
The table was not found. [DudleyStampOA11]
The table was not found.  
The table was not found. [DudleyStampOA11]  
Invalid Topology [Topoengine error.]
Failed to execute (Identity).
Failed at Wed May 08 21:45:41 2013 (Elapsed Time: 33 minutes 58 seconds)

Based on comments so far I tried copying data to new file geodatabase, and running the tool from ArcCatalog still get exactly the same error.

I have ordered 16GB of the fastest RAM my computer can take (I current have 4GB). I also have a 6 Core AMD Phenom II X6 1090T, SSD, and AMD Radeon HD 6970 Graphics Card. So I’m not sure what more hardware I can add.

I’ve also tried increasing the size of the page file which was a suggestion I found on Google with no effect.

Viewing all 12 articles
Browse latest View live