T. Wayne Whitley

less info
381 reputation
14
bio website
location
age
visits member for 1 year, 5 months
seen Feb 16 '13 at 2:01

Nov
3
awarded  Yearling
Feb
16
revised Difficulty converting standalone script to ArcGIS tool
corrected the 'GetParameterAsText' case
Feb
16
revised Difficulty converting standalone script to ArcGIS tool
about assembling pathname components
Feb
16
answered Difficulty converting standalone script to ArcGIS tool
Dec
11
comment How to generate discrete areas from multiple, overlapping features?
Is this problem/solution similar to what you're attempting? forums.arcgis.com/threads/…
Dec
9
answered How to get empty gdb using python
Dec
9
revised Creating new shapefile based on its attributes with python
added 15 characters in body
Dec
9
answered Creating new shapefile based on its attributes with python
Dec
7
awarded  Custodian
Dec
7
reviewed Approve suggested edit on How to replace arcpy.CalculateField_management with an update cursor?
Dec
7
revised How to replace arcpy.CalculateField_management with an update cursor?
added 54 characters in body
Dec
7
answered How to replace arcpy.CalculateField_management with an update cursor?
Dec
4
comment How to replace arcpy.CalculateField_management with an update cursor?
@R.K. My mistake, shape.area with the @ token to convert units is for the field calculator. However, shape.area is still valid with updatecursor muliplying by a conversion factor to derive square meters. The 'idea' is in to provide similar functionality as with the field calculator if you want to promote it, see esri.force.com/…
Dec
4
comment How to replace arcpy.CalculateField_management with an update cursor?
Sure, try it out 1st, the syntax is from memory...also, if you're making a tool where you aren't sure of the input, not sure of the proper fieldnames, there are describe methods to fetch them which will make your tool then more 'unbreakable'...hope that helps.
Dec
4
comment How to replace arcpy.CalculateField_management with an update cursor?
You are on the right track - however, you can eliminate the step CalculateAreas and update the Shape_Area field with the Python expression you already have used in the field calculator - set the search cursor on your orig buffer file: row.Shape_Area = row.shape.area@squaremeters
Dec
2
answered Creating rectangle over a buffer circle with specified angles/rotation?
Nov
22
comment Compare attribute columns of a feature class in ArcGIS
I think Python is tripping on the '#' character.
Nov
22
comment Compare attribute columns of a feature class in ArcGIS
I read and I like what Nadya provided... I don't think Python will accept your '#' characters, so try renaming your fields, maybe taking it out or replacing with something line an underscore '_'. Then try the call again: GetMaxFieldName({"V_V1": !V_V1!...etc.
Nov
22
comment Compare attribute columns of a feature class in ArcGIS
Accidentally submitted that last comment prematurely... Yes, you can use the field calculator to fetch the 4 values, compare them for the largest to populate your Dom crop field. Use the greater than operator (>), retaining the value that evaluates true. See the field calculator examples. You'll need the 'advanced' pre-logic script code.
Nov
22
comment Compare attribute columns of a feature class in ArcGIS
OK, I saw your pic and it looks like you're trying to find the max value of 4 fields in the same row, place this Val