Questions tagged [error-000840]
Use this tag for Questions which are related to the "000840" error returned by ArcGIS Desktop and ArcGIS Pro.
69
questions
2
votes
2
answers
1k
views
Creating individual buffers based on specific values of one attribute using ArcPy with ArcGIS Pro
I am using ArcGIS Pro.
I have a road shapefile with an attribute named 'Type' which has different values ('Highway', 'Main Road' etc.).
I want to create different buffers based on these values e. g. ...
0
votes
0
answers
81
views
Merging ValueTable to geodatabase using ArcPy
I'm using a script a colleague put together a couple of years ago and there is an error when I try to run it. I know some Python but not much ArcPy. I've been fiddling with this for a couple of days ...
2
votes
2
answers
1k
views
Iterating over features within Group Layer that will be identified with Wildcard using ModelBuilder of ArcGIS Pro
In the ModelBuilder of ArcGIS Pro 2.8.1, using Iterate Layers, I want to iterate over features that are in a group layer. It seems like I should be able to identify this group layer by using a ...
0
votes
1
answer
4k
views
Clipping Basemap using shapefile as clip feature in ArcGIS Pro
I am trying to isolate the United States from the rest of the world using a provided basemap in ArcGIS Pro.
I am trying to use a shapefile of the United States I obtained from the living atlas as the ...
0
votes
1
answer
138
views
Using Define Projection and Projection tools in ArcMap
When I uploaded my maxent output file in ArcMap (it's in ASCII format, a distribution map of a country) it showed me the the spatial reference is unknown. I will create binary maps later (suitable, ...
0
votes
0
answers
243
views
How to solve Error 000840 from arcpy.JoinField_management?
As part of a larger Python script, I am attempting for my last step to join an Excel file to a spatial layer. I was able to perform this step just fine in ArcGIS Pro Model Builder, but when I attempt ...
0
votes
1
answer
210
views
Runtime error while adding a new field to the existing feature layer using Python
I have been trying to add a new field to one of my feature layers. And I keep getting an error and I can't figure out what is going wrong.
I am attaching my code below for reference:
When I changed ...
1
vote
1
answer
114
views
Layer from server as input to ArcGIS Pro Intersect
I am working in ArcGIS Pro 2.6.1 and I have managed to pull in data from a server found here: https://spartagis.ncem.org/arcgis/rest/services. The layer in particular is the NC_AllBuildings layer. I ...
1
vote
1
answer
542
views
Python script to automate data update
I am trying to update parcel data for 29 different counties. Typically I would truncate the old data and append the new data, but clicking both those commands 29 times is time consuming.
I have ...
1
vote
1
answer
144
views
FeatureClass error message when running ArcGIS Python tool
I am trying to remove rows from a feature class that is included in a python tool in ArcGIS 10.7. I have run the code as an independent Python script and it runs fine, but when I run the following ...
3
votes
3
answers
893
views
Python in ArcGIS Pro: Backing Up All Layers in a Map
I am having a bit of trouble with Python. I am trying to create a script (hard-coded for now, but eventually soft-coded to make a script tool) that allows the user to back up layers of a given map in ...
1
vote
1
answer
276
views
Split features script returning Python ERROR 000840: The value is not a Feature Layer
I am trying to split a feature layer by rows. I've previously some time ago been able to use the below script, however now when I use it, it returns:
Python ERROR 000840: The value is not a Feature ...
4
votes
1
answer
235
views
arcpy.SelectByAttribute 'Parameters are not valid' error
I am trying to run a python script to select 5 random points in an attribute table and to loop through every 100 points to do this. When I run the function SelectRandomByCOunt within a python shell, ...
2
votes
1
answer
301
views
Select by Location multiple layers using ArcPy
Using ArcMap 10.3, I would like to Select By Location multiple layers using ArcPy. The error message states line 7 is not correct. I can't find the error though. "Water_Body_Boundary" is my source ...
1
vote
0
answers
200
views
Deleting fields from an attribute table
I have a layer that was constructed by multiple dissolve, merge, join's etc. by a previous person. So unsurprisingly the table is a complete mess. I only need 2 or 3 out of the 20 something fields ...