Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [error-000732]

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

1
vote
1answer
16 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
39 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 ...
0
votes
0answers
14 views

Terrain Tools giving ERROR 000732 in Choropleth map tool?

I'm having a strange error in ArcMap when trying to run the 3D Choropleth tool. The error appears to be related to file locations, but when I check all the files appear to be present. This is a ...
-1
votes
1answer
51 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
39 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 ...
1
vote
1answer
48 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
45 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 ...
0
votes
2answers
74 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
84 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
96 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
40 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
94 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
86 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 ...
0
votes
1answer
52 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
57 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
58 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
52 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
130 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
56 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
82 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
57 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
199 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
118 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
45 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
48 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
176 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
222 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....
1
vote
0answers
113 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
38 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
37 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
vote
0answers
80 views

Geoprocessing Widget in ArcGIS online Error: Using symbology layer

I have created a model in modelbuilder that takes an interactive feature set as a parameter so that the user of the model can draw a polygon "on the fly". I take the interactive feature set and use ...
0
votes
1answer
35 views

Add Subtrack name attribute

import arcpy rows = arcpy.SearchCursor("E:/Arcgis/lx.gdb/testSUBorigin", "", "", "", "VEHICLEID A; TIME A") arcpy.AddField_management("testSUBorigin", "SUB", "TEXT") cursor = arcpy.SearchCursor("E:/...
0
votes
1answer
69 views

Passing ModelBuilder ouput as new variable in ArcPy script?

I am trying to connect three models I build in ModelBuilder within an ArcPy script. The first model gets its parameters defined by the user. Whereas the other two models will get some parameters ...
0
votes
1answer
59 views

Copying shapefile then making feature layer using ArcPy gives ERROR 000732?

The only thing I need is an exact copy of an existing shapefile in the same directory with a different name. I have tried: arcpy.CopyFeatures_management (ORLinks, MyLinks) #ORLinks: old links, ...
0
votes
0answers
75 views

Adding features to feature class that is initially empty using ArcPy?

I have built a loop that creates each time a series of features (lines). And every time that new features are created I want to save them into a feature class (always the same one). I believe I need ...
1
vote
1answer
53 views

Multiplying files from different folders based on similar date in filename using ArcPy?

I am fairly new to Python and ArcPy. I've been trying to get files originating from different directories and multiplying files from directory a only if directory b had files containing exact same ...
4
votes
1answer
62 views

File Doesn't Exist/Isn't Supported Error - Running Python Script through C# ArcObjects

I have a script that is run using a combination of ArcObjects and a python script. The process starts in C# Arcobjects code, I create a geoprocessor, and then I run a toolbox tool (python script) with ...
1
vote
3answers
277 views

Running models outside of ArcGIS Pro? [closed]

I have a ArcGIS Pro model which takes a polygon shapefile (Site_boundary_master) and spatially joins various layers to it, finally exporting the final output to an Excel spreadsheet: All the joining ...
1
vote
2answers
184 views

Copying feature classes in feature dataset returns ERROR 000732: Input Features does not exist or is not supported

I'm pretty new to python and I have some trouble getting this snippet of code to work. I have some lines that work to copy shapefiles and feature classes, but I haven't managed to be able to copy ...
-1
votes
1answer
314 views

arcpy.CopyFeatures_management() gives ERROR 000732?

I'm using ArcGIS Desktop 10.2.2. I have a feature class in a geodatabase that from time to time I want to update with new data in an excel table. I wrote the following script to convert an excel ...
2
votes
1answer
69 views

ArcGIS10.5.1 Data Merge error: 000732

I am trying to run a python script to merge some files in a folder test, called test1.shp, test2.shp, test3.shp. The code is this: import os import arcpy workspace = "C:/mypath/test/" ...
1
vote
1answer
292 views

Applying symbology to layers within the Table of Contents with Python

I am using arcpy to pull in layers from a file geodatabase but I receive the following error below. How can I assign symbology from a .lyr file to a TOC layer using arcpy? # Name: Create Map # ...
4
votes
1answer
99 views

Creating selection in stand-alone ArcPy script?

I am using ArcGIS Desktop 10.5. I have had this work for me before, so I am confused as to what problem I am -running into now. When making a selection to copy to a new dataset in Arcpy, -here is ...
1
vote
0answers
285 views

How to avoid Python 2.7 64-bit Error: 000732: [closed]

I have a Python script that creates a service area with the Network Analyst extension, (after building ND with Add GTFS to a Network Dataset) The Network Dataset is in GDB When I'm running the ...
1
vote
0answers
33 views

Using values from a tool parameter defined as multiple value [closed]

I am trying to use values from a parameter that accepts multiple value and use the in the iteration but am getting an error. I have failed to understand where the error is coming from because the code ...
-1
votes
1answer
80 views

ApplySymbologyFromLayer_management fails error 732 [closed]

When I ran my arcpy script from the python prompt, the ApplySymbologyFromLayer_management worked fine using just the layer names for the parameters. Same thing when running that tool from ArcMap ...
2
votes
1answer
105 views

Exporting NDVI as .TIF using ArcPy?

Here is my code so far: import arcpy from arcpy.sa import * arcpy.CheckOutExtension("Spatial") workspace = arcpy.env.workspace = "C:/Users/KJanus/Desktop/Intro_ArcGIS/RasterData_Lab6" arcpy....
0
votes
1answer
112 views

Select tool returns Error 000732 in ArcPy?

I'm trying to use this "Select" script from http://pro.arcgis.com/en/pro-app/tool-reference/analysis/select.htm#C_GUID-81DADC1A-506C-4C5F-B9F8-945132BB8DC0 But it keeps giving me the following error: ...
1
vote
1answer
408 views

Apply Symbology from Layer Not Working in Script

I am working on applying symbology to multiple layers from lyr files for multiple MXDs within the IDE. I have been able to access the MXDs and iterate through and change the definition of "mxd". I am ...
1
vote
1answer
75 views

Imposing New Projection on Multiple Shapefiles using ArcPy?

I'm trying to run a script tool in Arcmap that will reproject a number of shapefiles from the source data folder and place the newly projected shapefiles in a destination data folder. I'm getting ...