Questions tagged [error-000732]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
44 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: "...
0
votes
1answer
29 views

Trouble creating custom tool from script

I'm a student attempting to create a custom tool from my script. The script is an export from Model Builder. With a few alterations, the script worked nicely after it was exported. Now, I'm trying to ...
1
vote
1answer
55 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
30 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
28 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 ...
0
votes
1answer
46 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
70 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
62 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
59 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
41 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
68 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
47 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
173 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
54 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
74 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
54 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
350 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
49 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
98 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
97 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
50 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
votes
2answers
168 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
124 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
39 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
81 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
73 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
192 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
428 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
180 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
53 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....
3
votes
1answer
117 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
128 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
101 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
109 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
100 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
73 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
231 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
80 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
131 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 ...
0
votes
2answers
79 views

Exporting to Excel gives ERROR 000732?

I have a script that buffers a selected point, and intersects that buffer with features that the user inputs. I would like to convert the table outputted from the Intersect process into a excel file. ...
0
votes
2answers
677 views

Error 000732 - Input Layer “does not exist or is not supported” when using 'ApplySymbologyFromLayer_management'

Using Arc 10.2 I am getting the following error message... ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Layer: Dataset Q:\Data\Infrastructure\Infrastructure....
3
votes
1answer
150 views

Error in reprojecting raster from WGS 84 to GDA 94

I am trying to reproject multiple .tif files with the following code: # Import system modules import arcpy import os # Set environment settings arcpy.env.workspace = r"H:\GIS Project\Bulk Density\In ...
0
votes
1answer
62 views

Unable to use a Toolbox with a input from DataInteroperability

I preface all of this by explaining that I'm not a Python developer (I usually use PHP and Java) nor do I use the ArcGIS product. I've been attempting to use Python to assist a colleague but I'll try ...
1
vote
1answer
51 views

Raster calculator ERROR000732, python scripter

I'm trying to do the raster calculator with this script but something goes wrong. It seems that the program doesn't found the files, but they exist. I've tried to remove path from the variables (...
2
votes
1answer
268 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 ...
1
vote
1answer
385 views

arcpy.FeatureClassToFeatureClass_conversion() gives ERROR 000732: Output Location: Dataset … does not exist or is not supported?

I'm trying to write a script to convert CSV to Feature Class (overwriting if pre-existing). Unfortunately my version of Arc (10.2.2) does not have "XYTableToPoint()" so I needed to find another way....
2
votes
0answers
290 views

Define Projection - Error 000732 - Dataset Does Not Exist or Is Not Supported

I am working with a shapefile that currently does not have any projections associated with it. However, when I attempt to Define the Projection, I am met with Error 000732. I have tried doing this in ...
0
votes
1answer
53 views

ERROR 000732 in code to Save shape as .lyr?

I am using a code (modified from Midavalo) to save .shp files as .lry files. The code runs well and displays the .lr files in the table of Contents. However, the Python displays Runtime error. On the ...
1
vote
1answer
52 views

Normalize raster in arcpy: Input Raster changed to Dataset?

I am trying to normalize the raster in arcpy by unchanged location over time. As such, I read the raster ('inRaster') read unchanged locations as polygon ('inPoly') Extract by mask unchanged ...

1
2 3 4 5