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-000725]

Use this tag for Questions which are related to the "000725" error returned by an ESRI software code.

3
votes
2answers
1k views

Saving output files with unique names to avoid ERROR 000725 from ArcPy?

I'm a GIS Analyst who is VERY new to Python. I have successfully run the script below. However, when I want to run it again with a different input file it gives me the 000725 error...output file ...
1
vote
1answer
28 views

Wrong Data Type for my Python Script Tool?

I've got the following script and want to run it in the ModelBuilder. import arcpy, os dem = r'C:\folder\dem.tif' out_folder = r'C:\outfolder' epsgs = range(32601,32661) + range(32701,32761) for epsg ...
1
vote
1answer
96 views

Exporting mosaic dataset to geodatabase with arcpy

How would one go about exporting a Mosaic dataset from a enterprise geodatabase to a file geodatabase using ArcPy? I'm able to copy a mosaic dataset via the ArcCatalog GUI by doing a copy/paste from ...
1
vote
1answer
96 views

Saving output in ArcPy?

The loop runs once, then i get this error message. Runtime error Traceback (most recent call last): File "<string>", line 17, in <module> File "c:\program files (x86)\arcgis\...
3
votes
2answers
4k views

Get extent of Georeferenced Rasters in Python and output to polygon shapefile

I would like to create a shapefile containing the extents of each of the rasters in a directory. Is it possible to capture the extent of a raster using Python? I have tried extent1=...
2
votes
1answer
2k views

Using ArcPy FieldMappings for Spatial Join?

I'm trying to create a python script tool to use within ArcMap 10.1. I created a Model and exported it as a python script and added custom field mappings for the first Spatial Join by reading through ...
0
votes
1answer
395 views

ArcGIS Surface Volume - multiple results in one table

I'm calculating volumes and surfaces using Surface Volume tool. According to the help page: http://pro.arcgis.com/en/pro-app/tool-reference/3d-analyst/surface-volume.htm it should be possible to ...
2
votes
1answer
301 views

How to rename shapefiles that contain illegal characters?

I need to import multiple ShapeFiles in ArcMap whith the MakeFeatureLayer tool. To do so, I need to rename several layers which contain non-ascii characters ("à","é","è", ...), space (" ") or point ("....
1
vote
2answers
2k views

Closing CSV file to read it again? [closed]

Apparently, I cannot close the csv file, so that it cannot be opened to be processed. How can I solve my problem? I get a list (A) from my calculations such that: A = [[1.0,153.0016399,-27.6402685],...
1
vote
0answers
58 views

arcpy.Statistics_analysis for multivalue parameter

I made this script to calculate the sum for a selected field after a query definition is defined. I have some issues now, to do with a multivalue field. The code is: import arcpy Layer1 = arcpy....
1
vote
1answer
281 views

Copy query feature layer into a feature class - error 000732

I am trying to create a python script to copy data from a MSSQL view (includes a geometry field) into a feature class. They are both held within the same database. I have tried arcpy....
1
vote
1answer
791 views

Debugging ERROR 000725 from loop using SearchCursor, SelectLayerByAttribute, and CopyFeatures?

I am fairly new to python scripting for ArcGIS. I am trying to create maps where each county is selected and then copied into a new layer with only that county's data. Then, I used ApplySymbologyFrom ...
2
votes
1answer
408 views

Directing output to a mirrored file tree. ArcGIS, Python

I am attempting to modify the Batch Project script to: a) read from a text file of file names located on our server b) build a mirror of the paths to those files on my local machine c) output to my ...
1
vote
1answer
87 views

How do you delete temporary graph files using Arcpy?

I'm using the arcpy.MakeGraph_management and arcpy.SaveGraph_management functions to create & save graphs in a Python Toolbox. The code works initially; however, subsequent use of the tool ...
0
votes
1answer
193 views

Error Handling within Python AddIns?

I'm working on some code for a toolbar I made using Python-addin that makes buildings. Part of the code that does this makes a Temporary table view. If my code attempts to make that table view again ...
4
votes
1answer
2k views

Cannot delete in_memory workspace

I wanted to use in_memory workspace, however I can't clear it. No matter if I use in Python window, in ArcMap this: arcpy.Buffer_analysis("something", "in_memory/buffer", 399) arcpy.Delete_management(...
1
vote
0answers
96 views

Error 000725 when using bearing to distance tool?

I try to use a tool called bearing distance to line, when i try to use this tool an error message appears on the screen: WARNING 000725 Output Feature Class: Dataset ....... already exists and the ...
0
votes
1answer
259 views

Debugging Error 000725 for buffer and parameter not being valid?

I am very new to Python. I built a model in the ModelBuilder in a toolbox in ArcCatalog 10.3.1. I keep getting the following error about my buffer not being able to be executed and that my parameters ...
2
votes
1answer
349 views

Cannot perform buffering loop with arcpy

I have 5 buffers to perform using 5 fields of a shapefile. I try to run it with the following code: Buffers = ['JF1','JF2','JF3','FF','FB'] env.workspace = "C:\Mydirectory\Myfile.shp" network = "C:\...
1
vote
1answer
795 views

Select by location in ArcPy?

i work with arcview 10.3 on 20 mxd's (each mxd has 25 layers) and i try to do select by location (with arcpy) and want to see a layers that are visible in the current map extent only. All Other layers ...
1
vote
1answer
385 views

Arcpy CreateUniqueName usage: keep original input names

This is a continuation of the question I asked here: At this point I'm really just trying to get everything in one place and keep the original shapefile basename. I'll tackle merging like-named ...
2
votes
1answer
3k views

How to hold/collect values in an iterated modelbuilder

I'm using modelbuilder to do upstream traces from several points/flags in a feature class. I'm iterating each point in the fc using the feature selection iterator so that I can calculate/transfer the ...
1
vote
0answers
25 views

Error 000725 importing Python (Arcpy) script into tool of standard toolbox? [duplicate]

I have created a Python script. When I run the script as a standalone by make this a hard set path instead of sys.argv1, the script really runs fine. When I import this script as a python tool box ...
3
votes
1answer
2k views

Debugging ERROR 000725: Output Dataset: Dataset … already exists?

Using ArcGIS 10.2 Desktop I am trying to run a Merge function by Arcpy as # Set environment settings env.workspace = "E:\\GIS\\ROR" path = "E:\\GIS\\Data\\" featureClass = "band-tailed_pigeon.shp" ...
8
votes
2answers
6k views

Error 000725 message from output workspace when using Python (ArcPy) script tool?

I am having trouble running a script tool that I just created in Arc 10.1. The script runs fine in PythonWin, but when I create a script tool with it, the tool seems to not want to accept folders or ...
1
vote
0answers
223 views

Error 000725 using Points to Line [closed]

I'm consistently getting an error 000725 (Output Feature Class already exists) when trying to use the "points to line" tool in ArcMap 10.3 It's a points shapefile with 4 points and I just want to ...
1
vote
1answer
603 views

Move Extent Locator Display python error

I am trying to use ESRIs generated python code to move around my Extent Data Frame based on location of my Main Line shapefile, as to not have the Data Frame over top of the main line when developing ...