594 reputation
25
bio website
location
age
visits member for 2 years, 4 months
seen 6 hours ago

Mar
26
comment Arcpy reclassify label display issue
Not sure but think you can mark your own post as the answer.
Mar
26
comment Arcpy reclassify label display issue
Just checked the webhelp-- classBreakLabels are both read/write as a list, so you should be able to read the labels in, reformat the labels to reflect the rounded to 10ths you desire, then write the list back to that property...and refresh the layer.
Mar
26
comment Arcpy reclassify label display issue
Thought that's where you were heading but wanted to be sure...very well. So in that case, I'm not logged in to confirm, but can you intercept from the layer object the reclassification values and subsequently apply similar logic as from the sample code to 'reapply' rounded output?
Mar
26
answered Running Select results in error 000210
Mar
26
comment Running Select results in error 000210
\n is an escape sequence; for your output use a raw string, as in r'C:\output\newpoly.shp'
Mar
26
answered Arcpy reclassify label display issue
Mar
24
answered Exporting gdb tables to excel in folder containing gdb?
Mar
22
comment Arcpy save command giving errors
Think the problem is the there is no result obj reference to save by...not sure, but make sure your input parameters are valid and use the sa alias suffix, as in arcpy.gp.Fill_sa
Mar
15
comment Concatenate string data plus numeric data in Arcmap 10.2.2
Come to think of it, do you really want to include the text 'Address'?...if so, is your destination field long enough? Otherwise, remove that text, simply do this: my_result_string = "{0} {1} {2}".format(my_address_nr,street_name,my_street_ty)
Mar
15
comment Concatenate string data plus numeric data in Arcmap 10.2.2
could be a simple error in formatting the string...recommend replacing the my_result_string line with: my_result_string = "Address: {0} {1} {2}".format(my_address_nr,street_name,my_street_ty)
Mar
15
comment Concatenate string data plus numeric data in Arcmap 10.2.2
@Jelle, about the string formatting, this is perhaps a more conducive way to enter string variables, see examples here: docs.python.org/2/library/string.html?#format-examples. I think if you provided a screenshot for Snickers, it would be best. (I'm not logged in; maybe you are?)
Mar
15
comment Concatenate string data plus numeric data in Arcmap 10.2.2
Think there's also an error in forming the result string, missing a '+'. I recommend using format function.
Mar
15
comment Concatenate string data plus numeric data in Arcmap 10.2.2
I think Jelle meant not to include 'def' in the expression line.
Mar
14
comment ERROR 000732 from ArcPy?
Without the raw string denotation prefix, you are essentially employing the tab 'escape sequence' -- see this: docs.python.org/2.0/ref/strings.html
Mar
14
revised Determine feature class's feature dataset
deleted 48 characters in body
Mar
14
answered Determine feature class's feature dataset
Nov
3
awarded  Yearling
Jul
21
answered Set a split policy/rule on a field without domain in ArcMap
Jul
19
comment How to create polygon feature class from UTM coordinates?
I think what PolyGeo meant for that line is lineArray.add(lineArray.getObject(0)). This is in order to properly close the polygon by fetching the 1st point added and loading it again as the last in the sequence of the point obj array.
Jul
19
revised Randomly choosing one from multiple fields in Field Calculator of ArcGIS for Desktop?
code to return field name based on previous code to generate the random field index