Questions tagged [error-000732]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

ERROR 000732 Dataset does not exist or is not supported RematchAddresses

I'm trying to automate rematching addresses after another part of my script performs data scrubbing. I've attempted this process with using a variable for the input from a feature class in a SQL/SDE ...
user avatar
  • 1,405
0 votes
1 answer
44 views

Using Intersect with arcpy.GetParameterAsText() and ArcMap

I'm trying to use the intersect tool, with one of my inputs being from a get parameter as text. As I don't have an advanced licence I have to iterate through the list to run the intersect on each item ...
user avatar
1 vote
1 answer
43 views

Band Composite NetCDF file

I have multiple NetCDF files which were converted into tif files using the tools Make NetCDF Raster Layer & Copy Raster tool in ArcGIS Pro 2.6. As output, I now have multiple tif files with many ...
user avatar
1 vote
1 answer
65 views

ArcPy - Select by Location and Copy Features - Error 000732: Invalid Features

I've been reading through some of the other answers but I haven't found a solution to my problem yet. I'm working with ArcMap in Python 2.7 in a standalone script. I'm trying to select some features ...
user avatar
2 votes
2 answers
229 views

ERROR 000732 - Dataset * does not exist or is not supported Failed to execute (CopyFeatures)

My main goal is to export a layer from ArcMap as a shapefile and upload it to AGOL. However, I am stuck at this intersection. All my scripts work in the python console within ArcMap. However, I cannot ...
user avatar
  • 23
0 votes
1 answer
115 views

Use arcpy.FeatureClassToFeatureClass_conversion() on a list

This works on a single feature class: import arcpy from arcpy import env ''' convert feature class to shapefile in Data folder ''' arcpy.env.workspace = r'\\uncpathto\J\Python\Data' in_feature = r'\\...
user avatar
  • 798
0 votes
1 answer
36 views

Errors with MakeXYEventLayer_management

Here is the code: import arcpy arcpy.env.overwriteOutput = True # ----- # arcpy.CreateFileGDB_management( r"C:\Users\Gdozier\Documents\Folder4", "Lab4GDB" ) # ...
user avatar
0 votes
1 answer
84 views

Setting workspace environment for hosted feature layers

I have a simple script that I want to use to export multiple hosted feature layers at once. This is my code: import arcpy fcList = arcpy.GetParameterAsText(0) #input hosted feature layers ...
user avatar
  • 452
0 votes
0 answers
202 views

Error: Dataset does not exist or is not supported

I am running Python 3.7 in PyCharm and trying to make buffers for a map in ArcGIS Pro by joining a feature class with a table. Why is Python saying the feature class (Roads) and table do not exist? ...
user avatar
  • 13
1 vote
1 answer
58 views

Reclassify rasters from raster dataset with ArcPy

I have a raster dataset ("RDS_NFlows_3035") with several bands that I would like to reclassify to a single value and save in another raster dataset ("RDS_NFlows_reclass_3035"). ...
user avatar
0 votes
1 answer
66 views

Converting files in a specific folder specified by a relative path

I am writing a script to automate the process of converting a group of rasters, the fact is that I need to set a relative path, it will be used on different pc. But there is always an error [error-...
user avatar
1 vote
1 answer
86 views

How to create raster from points classified as ground using external Python script

I am writing a Python script that I want to run outside of ArcGIS Pro. I want it to import a LAS, classify the ground points and then create a DEM using only the ground points. The code I have written ...
user avatar
0 votes
0 answers
103 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....
user avatar
  • 161
1 vote
1 answer
189 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 ...
user avatar
2 votes
1 answer
82 views

Composite band through Batch processing using Sentinal 2 data in arcpy

As we know sentinel satellite data have many sub folder. I want to create composite band of each datasets with the band 2, band 3, band 4, band 8 which are located in one folder(10m) and band 11, band ...
user avatar
-1 votes
2 answers
132 views

Creating composite band image with Sentinel 2 data using ArcPy

As we know sentinel satellite data have many sub folder. I want to create composite band of each datasets with the band 2, band 3, band 4, band 8 which are located in one folder(10m) and band 11, band ...
user avatar
0 votes
0 answers
50 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 ...
user avatar
  • 11
0 votes
2 answers
104 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 ...
user avatar
0 votes
1 answer
48 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....
user avatar
2 votes
1 answer
125 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 ...
user avatar
  • 63
3 votes
1 answer
44 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()" ...
user avatar
0 votes
1 answer
228 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: "...
user avatar
  • 91
1 vote
1 answer
393 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 ...
user avatar
  • 881
1 vote
1 answer
84 views

Batch Cell-statistics from 2 different folders using ArcPy with ArcMap

I'm using these codes to generate Cell-Statistics, I have data in four different folders but right now I'm using two folders just for the testing but I couldn't get the result. I'm a beginner level of ...
user avatar
  • 11
0 votes
2 answers
72 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 ...
user avatar
1 vote
0 answers
272 views

ArcGIS Pro Python Toolbox - env.workspace being 'forgotten' after using Spatial Analyst tools

EDIT I've narrowed down the cause of the problem to the spatial analyst toolbox. After using an SA tool, arcpy seems to temporarily 'forget' the env.workspace setting: Subsequent attempts to reference ...
user avatar
  • 1,468
0 votes
2 answers
282 views

How to maintain connection to ArcGIS Online through ArcPy without having to have the ArcMap application open?

I am working with ArcMap 10.5 on a corporate network though a VDI. We have been trying to implement a batch script which will pull data from an API to update features in a gdb, which then updates the ...
user avatar
  • 107
0 votes
0 answers
76 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 ...
user avatar
  • 371
4 votes
1 answer
698 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 ...
user avatar
  • 1,405
0 votes
1 answer
83 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 ...
user avatar
  • 39
1 vote
1 answer
174 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 ...
user avatar
1 vote
1 answer
74 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 = ...
user avatar
  • 471
0 votes
1 answer
104 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/...
user avatar
1 vote
2 answers
70 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 ...
user avatar
0 votes
1 answer
48 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 ...
user avatar
  • 453
0 votes
1 answer
127 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....
user avatar
0 votes
2 answers
106 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 ...
user avatar
0 votes
1 answer
455 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 ...
user avatar
  • 363
0 votes
0 answers
42 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 ...
user avatar
1 vote
1 answer
91 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 ...
user avatar
  • 37
0 votes
1 answer
111 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 ...
user avatar
  • 3,214
1 vote
2 answers
260 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 (...
user avatar
  • 33
0 votes
1 answer
860 views

Modelbuilder not recognizing table output and throws Error 000732

I am building a tool in ArcGIS Pro 2.2.1 ModelBuilder that includes making a drop down list for user input based on the information contained in a domain of a feature class. The three steps are ...
user avatar
  • 2,084
0 votes
0 answers
83 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 ...
user avatar
0 votes
1 answer
701 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 ...
user avatar
  • 51
1 vote
1 answer
254 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 ...
user avatar
  • 638
1 vote
2 answers
54 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 ...
user avatar
  • 780
1 vote
1 answer
144 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 ...
user avatar
-1 votes
2 answers
415 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 ...
user avatar
  • 63
1 vote
1 answer
266 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 ...
user avatar
  • 145

1
2 3 4 5