452 reputation
38
bio website
location Little Rock, AR
age 27
visits member for 4 years, 10 months
seen 2 days ago

2d
revised Removing first and third zeros of a fieldname in label expression
changed from a field calculator syntax
May
20
comment Removing first and third zeros of a fieldname in label expression
yes, I noticed that and changed it to a p instead of an i. And yes just replace !YOUR_FIELD! with your field name
May
20
revised Removing first and third zeros of a fieldname in label expression
clarify code
May
20
answered Removing first and third zeros of a fieldname in label expression
May
19
awarded  Yearling
May
19
comment Map automation to iterate through attribute table using ArcPy?
field_names[20:len(field_names)-2]
May
18
revised Using Python function in ArcPy script?
Created a separate function to process the individual band
May
18
suggested approved edit on Using Python function in ArcPy script?
May
18
revised Using Python function in ArcPy script?
Indent transform function
May
18
suggested approved edit on Using Python function in ArcPy script?
May
8
answered Map automation to iterate through attribute table using ArcPy?
May
7
comment Is there a service to check whether a gps path belongs to a public road?
You could buffer a roads layer and take out any points inside the buffer.
May
4
comment Copy\ Paste folders and subfolders with python
shutil.copy only copies FILES. copytree copies FOLDERS. A .gdb is a folder not a file. You will get that error for any folder.
May
4
comment Python script with ArcPy cursors won't stop looping?
I don't understand this latest edit. . . First of all you aren't even committing your changes. Other than that, this is working code and this is the heart of code, but it would help to have context. What is poly1/poly2/queryFld/sField? Are they strings, lists, objects? And how are they formatted? Also, I think it is a good idea to clear any currently selected items before you call this operation to make sure you aren't limiting your results.
May
1
awarded  Yearling
May
1
revised Python script with ArcPy cursors won't stop looping?
found some mistakes, added in code to clear current selections
May
1
revised Python script with ArcPy cursors won't stop looping?
added 74 characters in body
May
1
answered Python script with ArcPy cursors won't stop looping?
Apr
29
comment How to model a graveyard - one point per deceased or one per grave?
I'm not in the graveyard business, but I like being as thorough as possible. I would include the plots/scattering fields/monuments as polygons as well as having points for grave stones.
Apr
26
comment How to get values of last row in table with ArcPy/SearchCursor?
It's whatever field you are sorting by to determing the "last" row. I think you would just use FID or ObjectID, but you could use time or any other field to sort by.