Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Fields, also known as attributes, contain information about features.
0
votes
Copying exact field properties to new layer using ArcPy?
I think you need to do something more like this:
for field in fields:
# add fields with the same properties
arcpy.AddField_management(feature_class2,field.name)
but with more field properti …
5
votes
Can colon (":") character be used in shapefile field names?
According to the same Esri article that you cite:
These limits are imposed so that ArcGIS is able to function with the
maximum amount of data types.
Consequently, even if you are not prevented …
6
votes
Accepted
Using arcpy to separate surface objects mixed into one file into different shapefiles
The tool that I would use to "separate some information in a [shape]file into separate shapefiles based on values for a field" is Select_analysis:
Extracts features from an input feature class or …
0
votes
Searching for fields in geodatabase and adding them if they do not exist with ArcPy?
I've run out of time to get this working but hopefully this will give you some ideas of the Python coding necessary to write your script:
import arcpy
myField="Field01"
myFields = [field01, field02, …
7
votes
Accepted
Counting number of fields in table (or feature class) using ArcPy?
To count the number of items in any list (including a list of fields) you can use the Python len function.
For example:
print len(fields)
count = len(fields)
or
print len(arcpy.ListFields(<table> …
5
votes
Debugging ERROR 000664 when changing field name with arcpy.AlterField_management()?
In the Help for arcpy.AlterField_management() it says with my bolding:
This tool provides the ability to rename fields or rename field
aliases for any geodatabase table or feature class.
From …
13
votes
Accepted
Re-ordering fields permanently using ArcGIS Make Query Table tool?
I figured out how to do this by using the Make Query Table tool, Copy As Python Snippet, the Python window and the Copy Features tool.
After running the Make Query Table tool to pull through just the …
3
votes
Identify duplicate polygons to enable removal after reviewing attributes
I think Intersect will enable you to quickly identify the overlaps and give you an attribute table that you can use to zoom from one overlap polygon to the next.
"Intersect can run with a single inpu …
3
votes
Renaming field using ArcPy?
To rename a field in a table or feature class I would try the procedure described here.
Start ArcMap and open the Catalog window.
Locate the database that contains the table you want to alter.
Right …
1
vote
Accepted
Create feature class with desired fields using ArcPy?
I think the performance penalty of using AddField to add each field is small enough to make the functionality you seek be unnecessary.
At times in the past I know I have played with creating an empty …
2
votes
Changing field type with ArcPy?
Depending on your ArcGIS for Desktop version and where you are storing your data, there is a tool called Alter Field (available at all license levels from 10.2.2; only Advanced at 10.2.1) that may be …
2
votes
Changing Visible Field Properties on Multiple Layers at once in ArcGIS Desktop?
I am assuming that your 120 layers are all in the same map and that having been "split" from the same original layer they will all have the same field names.
To turn the same field(s) off in all laye …
15
votes
4
answers
11k
views
Re-ordering fields permanently using ArcGIS Make Query Table tool?
In the Answer to Reordering fields (permanently) in file geodatabase using ArcGIS Desktop? it was stated that the Make Query Table tool could be used to re-order fields in tables and feature classes p …
1
vote
Getting ERROR 000496 when trying to delete fields in ArcGIS Pro
Although closing ArcGIS Pro will enable you to avoid ERROR 000496 upon restarting, like the answer from @TDS says, the correct way to do it may be to use the Edit tab of the ribbon to click the Save ( …
3
votes
Using ArcPy to multiply fields in attribute table?
I think the easiest way to learn "how to use ArcPy to run a field calculation" is to:
Go to the Search window and find the Calculate Field tool
Open its tool dialog
Configure a test calculation and …