Questions tagged [error-000732]

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

Filter by
Sorted by
Tagged with
7 votes
2 answers
1k views

focal statistics with variable radius

is there an easy way to do focal statistics on a raster, with a variable radius for the neighbourhood to be searched? As in: that search radius would be stored in another raster? i tried something ...
Ben the bear's user avatar
6 votes
1 answer
776 views

Error using con in Map Algebra in Python script

I am experiencing a painful problem in the middle of a Python script I am writing. When I get to a Map Algebra function, I have tried two different options and both return a different error. At first ...
Maxim L's user avatar
  • 497
6 votes
2 answers
2k views

Adding query layer to MXD in ArcPy

I want to add a query layer to an arcmap document so that whenever i have a db data update, it is reflected in my ma and I can update my service through python script. This is my script so far... ...
user15051's user avatar
  • 221
5 votes
1 answer
2k views

How to convert all shapefiles in folder into KML using ArcPy?

I was trying to convert all the shp in a folder into kml. featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses: # Set Local Variables composite = 'COMPOSITE' pixels = 1024 dpi =...
Mingshu's user avatar
  • 511
5 votes
2 answers
7k views

Using arcpy from the command line on ArcGIS Linux Server 10.1

We installed ArcGIS SERVER (not Desktop!) 10.1 on a RHEL (Red Hat) machine. ArcGIS Sever is supported for Linux. However, it appears they don't make it easy to script in python, from the command ...
CPBL's user avatar
  • 281
5 votes
1 answer
296 views

Table to Table with tab deliminator

I am trying to create a table from a tab delimited csv. I get this error: Traceback (most recent call last): File "G:/GIS/DESIGN/ROW/testWorkspace.py", line 37, in <module> arcpy....
JTaylor's user avatar
  • 63
4 votes
1 answer
340 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 ...
Stephen's user avatar
  • 385
4 votes
2 answers
2k views

Using Mosaic to New Raster in ModelBuilder?

I have a large number of airphotos giving coverage of an area going back decades. - someone may have a smoother means to accomplish my goal here. I'm weak in Python sadly. I'm attempting to shrink/...
ktopo's user avatar
  • 51
4 votes
1 answer
1k 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 ...
geoJshaun's user avatar
  • 1,525
4 votes
1 answer
124 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 ...
MKF's user avatar
  • 531
3 votes
1 answer
4k views

Merge shapefiles in folders and subfolders with arcpy

I try to merge 20 shapefiles in order to get one shapefile that include all the features. All shapefiles are called "migrashim", and they spread in big folder that divided to a lot of sub folders. ...
newGIS's user avatar
  • 4,012
3 votes
1 answer
432 views

ArcPy delete terrain: cannot be deleted

I can't get my ArcPy script to delete a terrain. If it exists, it should be deleted. However it throws an ERROR 000317: {path} cannot be deleted My script is a lot longer than this, but this is ...
Menno's user avatar
  • 590
3 votes
2 answers
75 views

Looping in folders subfolders not working using Arcpy

I'm doing a toolbox that one shapefile intersects with many others shapefiles in folders, subfolders. The code works fine, but only for the first folder (in this case the "input_folder" but ...
brubis's user avatar
  • 139
3 votes
2 answers
4k views

Dealing with empty feature classes in a ArcGIS 9.3.1 Python script

I have a script that goes over all the feature classes within a geodatabase (in ArcGIS 9.3.1) and copies them. The problem (as far as I can understand) is that when the script goes to a empty feature ...
jonatr's user avatar
  • 3,185
3 votes
1 answer
7k views

ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Layer Name or Table View: Dataset L does not exist

I am trying to create a loop so that each layer is produced in its own map. This is my code: import arcpy path = "C:\Users\Et\Documents\ArcGIS\Default.gdb" mxd=arcpy.mapping.MapDocument(path +"\...
Wiz Townley's user avatar
3 votes
1 answer
80 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()" ...
Pangeleno's user avatar
3 votes
1 answer
204 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. ...
SarahKelley's user avatar
3 votes
1 answer
279 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 ...
Douglas's user avatar
  • 415
3 votes
1 answer
394 views

Arcpy.mapping Select by Location problem

I need to adjust a premade .mxd many times, so I'd like to speed it up with this script. Everything is working except the Select by Location part. The query reduce the Address layer to a single point ...
Gary's user avatar
  • 540
3 votes
1 answer
319 views

How to reference all the shapefiles within a Windows folder and merge them in ModelBuilder?

I have a group of shapefiles that are stored in a Windows folder. There are multiple users that will be adding shapefiles to this folder or editing existing shapefiles in this folder on a continual ...
Jessica Marie's user avatar
3 votes
1 answer
326 views

Should ArcGIS change the path of a gdb to the server data store when publishing a GP service?

I've published a GP service to ArcGIS server and it fails when I try to run it. The workspace is a file GDB on the local network, and the script contains a UNC path to it. There is a copy of the data ...
jon_two's user avatar
  • 1,834
3 votes
1 answer
541 views

Unable to execute a python script that was exported from ModelBuilder

I have a model that copies a single F.C form SDE geodatabase to a scratch geodatabase then copies it back with a new name to the same SDE geodatabase again. And this works perfectly form the model. ...
Ahmad saleh's user avatar
  • 1,044
3 votes
3 answers
7k views

"Dataset xxx does not exist or is not supported" using Table to Domain in Python

I have a directory of hundreds of *.csv files, containing code/description pairs for geodatabase domains. I'm trying to automate the creation of these domains using Python. If I manually run the ...
Stephen Lead's user avatar
3 votes
1 answer
377 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 ...
Irfan Moğulkoç's user avatar
3 votes
2 answers
602 views

Accessing differing geodatabase schemas from arcpy

I am attempting to write a script that processes a lot of different feature classes in a geodatabase. Most of the feature classes have the same schema as the user connecting to the database ...
Midavalo's user avatar
  • 29.5k
3 votes
1 answer
717 views

Error message trying to merge Shapefiles in Python

I try to merge all Shapefiles from one folder together into one, using this: shapeList = arcpy.ListFeatureClasses() print shapeList for fc in shapeList: if fc == "*domain*": arcpy....
Frauke's user avatar
  • 109
3 votes
1 answer
1k views

Cannot read CSV-file from ArcMap

when trying to import a CSV from my hardtrive to my map-document using "add Data"-dialog I get the error "Selected element could not be added to map. Generic error" (or something similar, I am using ...
MakePeaceGreatAgain's user avatar
3 votes
2 answers
4k views

Delete SDE feature class features with ArcPy

I'm working on a script that will empty my SDE database of all data. How would I go about deleting features from feature classes using ArcPy? I have an SDE connection created with a user that should ...
Andy Arismendi's user avatar
3 votes
0 answers
182 views

Arcpy code only works when run in two chunks, not as one piece [closed]

I have a weird thing happening with my script. When I copy/paste it into the python cmd line within ArcMap, I get error messages. However, if I run the first part, then copy in the very last line by ...
LGelb's user avatar
  • 41
2 votes
2 answers
4k 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 ...
3raan's user avatar
  • 33
2 votes
1 answer
3k views

ListRasters not recognizing raster files in python

I have 2 rasters in my workspace, one in TIFF Format and the other in GRID format: "C:\ExampleFolder" When I use the python script: import arcpy >>> rasl=arcpy.ListRasters("C:\ExampleFolder"...
JC11's user avatar
  • 829
2 votes
1 answer
1k views

SelectLayerByLocation_management gives ERROR 000368: Invalid input data?

I'm trying to use SelectLayerByLocation_managment in a script and keep getting the following error: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000368: Invalid input data. ERROR ...
geoJshaun's user avatar
  • 1,525
2 votes
1 answer
2k views

ArcGIS arcpy reprojecting raster issue

I have a raster which I want to reproject from GCS_WGS_1984 to GCS_NorthAmerican_1983. I am using the following code: try: spatial_ref = arcpy.CreateSpatialReference_management("GEOGCS['...
user1186's user avatar
2 votes
2 answers
222 views

How to interact layers with a nested loop?

I've dealing with the code below with such a long time. I have to show in a raster image the result of calculating the cost of the electricity for a solar plant. The thing is that I have to interact a ...
tom's user avatar
  • 309
2 votes
1 answer
349 views

Input unsupported or doesn't exist in MakeFeatureLayer()

I have the following code below to clean up a table to ensure that phone numbers and emails are entered in correctly, and am trying to debug my code. I am new at Arcpy, so I am still trying to figure ...
Purplepeopleeater's user avatar
2 votes
1 answer
167 views

Debugging FeatureClassToFeatureClass giving ERROR 000732?

I get this Error when trying to run the FeatureClassToFeatureClass_conversion: Traceback (most recent call last): File "", line 1, in arcpy.FeatureClassToFeatureClass_conversion(...
Shawn Oliver's user avatar
2 votes
2 answers
131 views

Arcpy fail to loop between files in different directories

I want to perform a loop of intersections between different files in different directories. Here is my code: Intersects = ['Name1','Name2','Name3','Name4','Name5'] #Names of my files arcpy.env....
Patapunfate's user avatar
2 votes
2 answers
3k views

Script runs in ArcMap Python window but not in standalone PythonWin or IDLE?

I am attempting to automate some basic geoprocessing for a web map service. I am using ArcGIS 10.1 for Desktop. This code was built in ModelBuilder and exported to python. This runs perfectly in ...
BigKahuna's user avatar
2 votes
2 answers
519 views

Weird File Path Returning from Print Statement Causing ERROR 000732

I have created a python script in ArcGIS 10.1. My first parameter type is a 'Feature Layer' set to as a multivalue input. I was running my script quite well off of data from one of my drives (my Y:...
Mike's user avatar
  • 2,261
2 votes
1 answer
467 views

Converting standalone script to ArcGIS tool?

I am currently trying to make my (working) standalone script into an ArcGIS tool so I'm not the only person in my office that can use it. It selects all the data within a specified location and ...
user15236's user avatar
2 votes
1 answer
255 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 ...
gydemov's user avatar
  • 63
2 votes
1 answer
2k 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 ...
user avatar
2 votes
2 answers
415 views

Applying Map Algebra to List of Rasters and Saving New File in New Directory?

I am trying to multiply each raster by coefficient using Map Algebra in Python. I receive the following error for the code below: calcRaster.save(calcRasterName) AttributeError: 'unicode' object ...
Rachel Rotz's user avatar
2 votes
1 answer
93 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/" ...
userper's user avatar
  • 23
2 votes
1 answer
172 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....
K.J's user avatar
  • 21
2 votes
2 answers
934 views

Why does FeatureClassToFeatureClass work in ArcMap but not in Python script?

When trying to copy a feature class from an SDE connection file to a scratch GDB, the FeatureClassToFeatureClass_conversion works in the ArcMap Python window, but I can't get it to work in a Python ...
GISUser9's user avatar
  • 815
2 votes
1 answer
6k views

How can I open, visualize and convert LandXML data?

I've received what I assumed was a DWG file but when I open it in AutoCAD Map 3D 2015 only data frames placeholders are shown. I was under the assumption that the person who sent the data forgot to ...
Jakub Sisak GeoGraphics's user avatar
2 votes
1 answer
298 views

forLoop & joinField & different names

I have a folder with an output (shapefiles) from an iteration. On this output, I want to perform a join between two attributetables. So far so good. Here comes the tricky part. There are different ...
four-eyes's user avatar
  • 3,370
2 votes
2 answers
2k views

Error in Select Layer by Location python script?

I keep on getting an error on Select by location that the file cannot be found and the inputs are invalid, but I can't figure out what I'm doing incorrectly. I realize some of my variables ...
Alex's user avatar
  • 75
2 votes
1 answer
5k views

Creating a Simple Join Script in Python

I'm trying to create a simple join script in python from an arcgis model, where the only steps are joining a map to a table to produce a map with the table's properties. The attributes joined together ...
Taylor's user avatar
  • 21

1
2 3 4 5