Questions tagged [error-000732]

Esri error indicating a dataset does not exist or is not supported.

Filter by
Sorted by
Tagged with
1
vote
0answers
36 views

Why does my “Export to CAD” script work in Python 3.7, but not in 2.7?

I've written a script that iterates through all feature classes in a dataset in a geodatabase and writes them to separate dwg-files. In this case 230 feature classes. If I run the script in Python 2.7....
0
votes
0answers
23 views

Trying to create a new coded domain and Arcpy is rejecting my domain name

For some reason I'm getting a "ERROR 000192: Invalid value for Domain Name" in the below script. The domain name is "Road_Class_Types". I can't figure out why it's giving me this ...
0
votes
0answers
39 views

Merging featureclasses with the same name in multiple geodatabases using ArcPy

I tried merging all "Arc" feature class with same name nested in multiple geodatabases using ArcPy but didn't work #importing module arcpy and os and glob import arcpy, os, glob #settin up ...
0
votes
2answers
66 views

Clipping using ArcPy gives ERROR 000732

I have 30 shapefiles, each of which I want to be clipped with another 3850 shapefiles (contain only one polygon). I know I need a loop in Python and use ArcPy. But I'm very new to Python. Here's my ...
0
votes
1answer
35 views

Raster division using ArcPy

How do you do raster division (ArcPy raster calculation)? I want to divide the “.tif” in one folder by the “.tif” in the other folder. This is my code: import arcpy from arcpy import env from arcpy....
2
votes
1answer
50 views

Using RasterCalculator in ArcGIS Pro ModelBuilder gives ERROR 000539

As part of a larger model for iterating lake bathymetry interpolations, I'm essentially trying to establish the lake altitude as a new base level (Z=0) for the DEM surrounding the lake. (picture below ...
3
votes
1answer
35 views

Spatial join features from different geodatabases

I have two geodatabases with several feature classes in both of them. I want to spatial join the feature classes in gdb1 to those in gdb2. I tried to use "arcpy.ListFeatureClasses()" ...
0
votes
1answer
66 views

Python Script to convert multiple KMZs to single GDB

I am trying to extract all KMZ and kml files from a folder but it's giving me an error. File does exist in that folder. for kmz in arcpy.ListFiles('*.km*'): print ("CONVERTING: "...
1
vote
1answer
122 views

Using ArcPy to Generate Near Table in memory

I have a point SHP in WGS84 (EPSG 4326) and I am trying to tabulate the distances to the nearest point in meters. I need to do the analysis using ArcPy, but I want to get the results in a Pandas ...
0
votes
2answers
40 views

Syntax for converting tuple into string with Merge in ArcPy

I have a tuple of unknown elements, which I want to convert into a string for using in the arpy command arcpy.Merge_management([Input1, Input2, ..., Inputx], "D:\\test.shp") In my example I ...
0
votes
0answers
38 views

Creating Rasyer object from .adf file using ArcPy gives ERROR 000732

I am trying to use Raster class in Arcpy, to create a raster object from a .adf file My folder contains all the related .adf files but I am unsure how can I "point" the correct one to create the ...
4
votes
1answer
126 views

ArcPy: Error 000732 feature layer / table view does not exist or is not supported

I am trying to update a feature class by joining it to a table after deleting columns in the target layer with the same names as columns in the join table. I thought the only way to do this in arcpy ...
0
votes
1answer
56 views

Arcpy Batch Spatial Join Error code 000732

I am relatively new to python so apologies if this is a basic mistake. I would like to make a python script to batch run the Spatial Join Tool. The Target shapefiles are in one folder and the join ...
1
vote
1answer
94 views

ERROR 000732: Layer Name or Table View: Dataset targetAreas does not exist or is not supported Failed to execute (SelectLayerByAttribute)

My goal with this script is to create 9 PDFs and 9 sheets within an Excel workbook. The script utilizes select by location, attributes, and searchcursors to read data to Excel and iterate through user ...
1
vote
1answer
73 views

Creating CON.shp in ArcPy gives ERROR 000732

I am creating bunch of point shapefiles by using watershed boundaries in a loop import arcpy from collections import defaultdict geo_db = 'C:\\CHIA_Routine\\CHIA_Watersheds.gdb' smis_wq_resultsXY = ...
0
votes
1answer
77 views

Loop through input and erase features arcpy.Erase_analysis()

I am attempting to loop through two folders, one of input files (watershed polygons) and erase features (area boundaries) using arcpy.Erase_analysis Here is my current code: in_cover = "G:/Files/...
1
vote
2answers
62 views

Select_analysis Looping gives ERROR 000732

The script I use for select_analysis is no longer working. I believe part of the problem is the source data I use (and I'm not the administrator of) has changed the field properties of the attribute I ...
0
votes
1answer
44 views

ERROR 000732: Cannot clip IDW product to boundary file with Python script

I am writing a Python script to try to clip a raster generated by Idw_3d interpolation, but it's throwing the infamous 000732 error. I've looked at my file path, and it does exist there. I've opened ...
0
votes
1answer
76 views

Dataset does not exist or is unsupported SaveLayerToFile

I am trying to save a layer from an MXD to a lyrx file in a geodatabase using ArcGIS Pro. aprx.importDocument(current_document_name) mlist = aprx.listMaps() infra_layers = mlist[0].listLayers() arcpy....
0
votes
2answers
58 views

Setting Symbology for a Feature Class

I'm trying to automate a map, and one of those tasks is to set a specific symbology for a feature class. I create the feature class of Subject and Comps in the code, then add it to the map, then when ...
0
votes
1answer
252 views

Adding rasters to mosaic dataset from CSV list using ArcPy?

I have a CSV list containing paths to 800 TIFF files that I want to add to a mosaic dataset. So using the Add Rasters to Mosaic Dataset tool, I need to create a loop which changes the input_path ...
0
votes
0answers
40 views

ERROR 000732 using Con in loop?

I've got this process I'm trying to automate that essentially iterates across a set of rasters, runs a con statement on them to put values from a separate raster wherever the first raster has certain ...
1
vote
1answer
59 views

Looping through two raster folders to perform raster calculation gives ERROR 000732?

Last week I asked Looping through two raster folders to perform raster calculation? about a script to loop through two geodatabases and perform a raster calculation by matching the two rasters up ...
0
votes
1answer
81 views

Calculating Area solar radiation gives ERROR 000732: output raster considered as Input?

I am trying to calculate Area solar radiation for rasters in a list. It seems that the tool allows to create unique rasters for direct, diffuse and direct radiation duration, and calculates ...
1
vote
2answers
78 views

Performing Union_analysis on outputs created with arcpy.GetParameterAsText()?

I am trying to write a script tool for my geospatial programming class and I am stuck (this is an online course and we get NO support from our instructor). What I need to do is create buffers (...
0
votes
1answer
559 views

Modelbuilder not recognizing table output and throws Error 000732

I am building a tool in ArcGIS Pro Modelbuilder (Pro version 2.2.1) that includes making a drop down list for user input based on the information contained in a domain of a feature class. The three ...
0
votes
0answers
59 views

MakeTableView of Excel spreadsheet tab gives ERROR 000732?

I have a very simple model built using Modelbuilder that takes a tab of an Excel spreadsheet and converts it using Make Table view. This works fine in ModelBuilder. I then export the model to Python ...
0
votes
1answer
229 views

Checking to see if database is there and delete if so using ArcPy?

I am looking for my python code to check for the polycheck.gdb and if it is there delete and create a new one. Also, I would like to set my workspace to that database. Not sure if this is the right ...
1
vote
1answer
144 views

Access layer of raster stored in memory using ArcPy to create NDVI from subset of multi-band raster

I am trying to create a final output of an NDVI raster for a number of Landsat images run through a for loop in Python 3 (for ArcGIS Pro). I am able to produce the NDVI rasters when I save the ...
1
vote
2answers
51 views

If statement not moving to else: when false?

I am looping through 2 sets of rasters to do a extract by mask of one raster using the other, with ArcPy. However, if the mask raster does not exist I want to skip to the next set of rasters. Both ...
1
vote
1answer
90 views

ERROR 000732: Output Location: Dataset results does not exist or is not supported?

I'm trying to use MosaicToNewRaster but a lot of errors are appears. One of them is: ERROR 000732: Output Location: Dataset results does not exist or is not supported My code is: import ...
-1
votes
2answers
262 views

Merge and save results after selections using loop

I want to merge shapefiles after selection inside a loop and then save results to excel files. However, the codes could save the last result to excel files and can not save each merge file. import ...
1
vote
1answer
146 views

Solving ERROR 000732: Input Raster: Dataset Con( does not exist or is not supported in for loop? [duplicate]

I'm trying to reclassify rasters based on standard deviation. I created this code, but I think I'm wrong using "Con". I would like to assign value 1 to rasters >= to threshold and rasters <= to ...
2
votes
1answer
47 views

Model only works one time and then fails, Error 000732, “Precondition fails”

I have a huge ol' model that's built to copy a bunch of data from one GDB into a different GDB and then delete two of the feature classes. If I build the model from scratch, it'll run fine the first ...
1
vote
1answer
88 views

Copy Table Failing with ERROR 000732 in ArcPy?

Very new to Python. I am trying to copy between Feature Datasets, Feature Classes, and Tables between two GDBs. Here's my code: The following attempt works when Irfan_FC is a feature class: #Copy ...
0
votes
1answer
84 views

Using ModelBuilder to Create Python Script for xls to csv Conversion?

I am currently trying to create a python script within ModelBuilder to convert an xls file to csv. I created one already using the "Table to CSV" tool which was successful. However, I tried to add ...
1
vote
2answers
227 views

Getting error 000732 when running python script

I created a tool for a team, which worked perfectly. Once I started changing the directories of where things are saved it stopped working. I keep getting error 000732 for my code. I think it's because ...
1
vote
1answer
670 views

Rotating polygons by value from attribute table using ArcPy?

I have 60 polygons saved in one shp file. Is there a way to rotate them by the angle value stored in the attribute table? I know how to do it manually; I am looking for more automated way (Every ...
0
votes
1answer
217 views

ArcGIS Pro error 000732: “Input Layer: Dataset xyz does not exist or is not supported” when using arcpy.SaveToLayerFile_management

Below is the code I wrote in ArcPy in ArcGIS Pro. The layer from "arcpy.MakeFeatureLayer_management" is created (name changes in each iteration as "Layer_%s" %(FIPS)). But "arcpy....
1
vote
1answer
64 views

Coding Python about raster calculation for create a toolbox

I want to create a tool box in ArcMap. I wrote this code: # Import system modules import arcpy, os,sys from arcpy import env from arcpy.sa import * # Set input raster InputRaster=arcpy....
2
votes
1answer
156 views

Converting CSV to DBF using ArcPy giving ERROR 000732

My code import arcpy, os, shutil, re from arcpy import env arcpy.env.workspace = "R:\GIS_Data\Earthquake_Data\Updates\Eq_updates.mdb" path = r"R:\GIS_Data\Earthquake_Data\Updates" ...
3
votes
1answer
134 views

Importing from CSV and changing projection using ArcPy?

I'm attempting to convert CSV files to a group of shapefiles, then re-project them to a different coordinate system. The first conversion works, but I'm having issues with the projection piece. ...
0
votes
1answer
147 views

ArcMap 10.6 Select Layer by Location ERROR 000732: Selecting Features: Dataset does not exist or is not supported

I'm trying to calculate the accumulative street length in various jurisdictions in a county. To do this I'm using a search cursor in the city layer and then using the current feature to select streets ...
1
vote
1answer
111 views

Clipping raster with shapefile

I have the following script that reclassifies rasters and then combines them into one. I am trying to clip the final raster to a shapefile I have. All my research shows that I need to clip it to the ...
0
votes
2answers
124 views

Add Feature Class from Geodatabase Dataset to MXD using ArcPy Standalone Script?

I am trying to add a Feature Class from a Geodatabase Dataset to an MXD and save a copy like this but I am getting following errors on each methos import arcpy import os arcpy.env.workspace = r"C:\...
1
vote
1answer
107 views

Receiving ERROR 000732 from ArcPy that raster does not exist or isn't supported? [closed]

I am running this script to perform simple raster algebra on the pycharm interpretor... import arcpy arcpy.env.overwriteOutput = True from arcpy.sa import * # Specify the input raster inRaster = ...
1
vote
0answers
76 views

Use selected feature in MXD as selector in python?

I am quite new to ArcPy. However, I want to write a script that: uses an existing SELECTED FEATURE of a feature class in a data frame of an existing MXD (on an SDE Server) for a SELECT BY LOCATION ...
1
vote
0answers
241 views

Uploading mxd to ArcGIS Online with Python?

I need to create a Python script to upload an MXD to AGOL. I have created an script in arcpy to create a service definition file (*.sd) from the mxd. I have not been able to upload the sd to AGOL ...
0
votes
1answer
83 views

Generate Random Lines Python Error 000732

I am trying to generate random lines within a polygon using ArcMap 10.6.1, in the Python window. I have entered the code that was supplied in this post and changed the relevant file paths. Here is ...
0
votes
1answer
148 views

Dataset '{}' does not exist or is not supported in arcpy

I am trying to insert some variable into a simple arcpy call using .format(var1, var2) as I would in a string. I am new to using Python 3.6, so maybe there's been some change in how this is done. When ...

1
2 3 4 5