Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
55 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
32 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
80 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
65 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
22 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
34 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
43 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
44 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
73 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
41 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
41 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
48 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
108 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
96 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
37 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
40 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
139 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
176 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....
0
votes
0answers
66 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
33 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 ...
0
votes
1answer
29 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
65 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
33 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
65 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
56 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
72 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 ...
0
votes
0answers
73 views

Geocoding by cross street in ArcGIS Desktop?

I have a list of locations by cross streets and city. I can type them into the geocoding toolbar to find the locations. I have a list of 300+ in this format and would like to do all the addresses at ...
1
vote
1answer
48 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
167 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
123 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
222 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
66 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
221 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
85 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
226 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
32 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
65 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
90 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
92 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
303 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
74 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 ...
1
vote
0answers
101 views

Intersect error 000732

I'm trying to do intersect with 2 shapes, but it's not working because it can't read my shapefiles... I don't know why, because when i ran it with my other script, it works perfectly! Traceback (...
1
vote
0answers
44 views

ERROR 000732 - Get raster property

The following code subtract the minimum value of the raster from each cell value. Is there something wrong in it? This error comes with it every time that i run... Traceback (most recent call last)...
0
votes
2answers
101 views

Custom Script tool (ArcPy) Error: Input Features does not exist or is not supported

I am trying to create a custom tool that take x,y coordinates, buffers them and then puts them into a new feature class. Whenever I try to run the tool I get: ERROR000732 Input Features: Dataset (...
1
vote
1answer
106 views

ArcGIS Composite Bands tool does not recognize temporary layer input

I am trying to extract monthly layers from a multi-year stack and then re-stack them by month. I am using make raster layer to make temporary layers and append them to a list to use Composite Bands ...
1
vote
0answers
44 views

Applying Symbology To MXD Layers From Symbology Files In ArcGIS Stand Alone ArcPy?

I have a saved .mxd map in directory called Project.mxd and some layer symbology files .lyrs inside a folder called lyr import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Data\Maps\Project.mxd") ...
1
vote
2answers
277 views

Loop through 2 folders and perform raster calculation

I am currently learning arcgis and python. The problem includes looping through 2 folders (with rasters of same filename) and performing raster calculation on each raster pair. Below is my code: ...
0
votes
1answer
180 views

Arcpy.AddJoin error

I am trying to populate a table by joining an excel sheet to a featureclass and using field calculator to populate the fields, but I am getting errors for the arcpy.addjoin_management. import arcpy ...
3
votes
1answer
93 views

ArcGIS ModelBuilder Add to Join Error [duplicate]

While working with the ModelBuilder, I added 2 columns to the data. After you have done "Summary Statistics" according to the GridID, you know the output product in tabular form. I wanted to print the ...