Tagged Questions
6
votes
2answers
138 views
Refresh open attribute table in ArcMap (arcpy)
I am running the Calculate Field GP tool from the arcpy in ArcMap. When a row value is updated, it does not show up untill I use the Reload Cache tool (Table Options > Reload Cache). How do I refresh ...
1
vote
1answer
62 views
arcpy: can I use SelectLayerByAttribute to compare fields from joined tables?
I can't figure out the syntax to select table records where one field's value exceeds that of another. The fields are from a pair of table views connected w/AddJoin(). One view is of a fgdb table and ...
8
votes
1answer
244 views
Fastest methods for modifying attribute tables with Python?
A while ago, I wrote a quick Python function for converting an attribute table to a python dictionary, where the key is taken from a user-specified unique ID field (typically the OID field). ...
4
votes
1answer
91 views
convert a dbf into a raster image using python? work around for arcpy
ArcGIS' arcpy does not have a function to add a table to a layout. I was thinking that maybe taking that table (e.g. a dbf), there may be some python script command to turn it into a raster (e.g. do ...
4
votes
1answer
240 views
How to write values from arcpy statistical output to table?
The attached script is my stalled attempt to perform the following workflow:
Create a table and create fields
Loop through a folder of point shapefiles and perform average
nearest neighbor analysis
...
2
votes
1answer
260 views
How do I select * rows of multiple columns in one query using Select by Attributes within ArcMap?
I am trying to convert a psql query string into arcpy formatting for an UpdateCursor where expression parameter:
'''SELECT ...
2
votes
1answer
487 views
How to detect duplicate attribute values in a table using ArcPy
In ArcMap, the right-click Summarize option very quickly creates a frequency listing of the chosen field:
Note that the count field shows the count of duplicate values. How can I access this ...
2
votes
1answer
533 views
Add multiple fields in attribute table
How do I add in multiple fields in the attribute table? In the attribute table I have crop types such as corn, cotton, sorghum....etc (as shown image below), in square meters. and I want to generate ...
4
votes
1answer
1k views
How to add field in attribute table by python
I have research on the question (How to add an attribute field to an existing Shapefile via Python) but could not implement it.
If you can give me examples on how to add field name in attribute ...
