119 reputation
7
bio website linkedin.com/in/kristengrady
location New York, NY
age
visits member for 2 years, 2 months
seen Apr 4 at 18:04

I'm currently learning Python, C# and Javascript... all at the same time! I'm a GIS/Geospatial Researcher and Analyst and Cartographer looking to use some programming to up my game.


Jul
2
awarded  Curious
Jan
10
comment Arcpy ListLayers function returns only the first sub layer in a group layer (as opposed to the group layer AND all sub layers of that group)
Works! Thanks a lot. I started out with an IF/ELIF statement. I'm not sure why I switched to IFs with breaks. Still learning :)
Jan
10
accepted Arcpy ListLayers function returns only the first sub layer in a group layer (as opposed to the group layer AND all sub layers of that group)
Jan
9
asked Arcpy ListLayers function returns only the first sub layer in a group layer (as opposed to the group layer AND all sub layers of that group)
Dec
5
accepted Getting 2147483647 and -2147483647 as min and max output for point to raster, polygon to raster, and feature to raster tools
Jul
5
accepted How do I stack feature class annotation?
Jul
5
comment How do I stack feature class annotation?
There are quite a few. I do have Maplex and have been using it, but I think I need to decrease the # of characters on a line so that more of these labels are going to stack.
Jul
5
comment How do I stack feature class annotation?
Yea, this seems to be the same conclusion I am coming to...
Jul
5
asked How do I stack feature class annotation?
May
4
awarded  Teacher
Apr
4
accepted Incorrect field name resulted in RuntimeError: ERROR 999999 (Also, better code for adding and calculating fields)
Apr
3
revised Incorrect field name resulted in RuntimeError: ERROR 999999 (Also, better code for adding and calculating fields)
edited title to increase searchability and usefulness to others
Apr
3
awarded  Editor
Apr
3
revised Incorrect field name resulted in RuntimeError: ERROR 999999 (Also, better code for adding and calculating fields)
edited title to increase searchability and usefulness to others
Apr
3
answered Incorrect field name resulted in RuntimeError: ERROR 999999 (Also, better code for adding and calculating fields)
Apr
3
comment Incorrect field name resulted in RuntimeError: ERROR 999999 (Also, better code for adding and calculating fields)
@RyanDalton You know what I discovered? Somewhere along the line a character at the end of field #11 was missing. I don't think it was truncated, because other fields weren't (I had made sure previously they were the correct length). But yea, I think it was trying to look for a field in my fieldList that didn't exist because the names didn't match up. So now I know to be way more careful about field names.
Apr
3
comment Incorrect field name resulted in RuntimeError: ERROR 999999 (Also, better code for adding and calculating fields)
@RyanDalton - I averted that problem by using env.qualifiedFieldNames = False. Check it out. But that had been a problem for me earlier, so good call!
Apr
2
accepted Am I over-complicating adding and then calculating fields? Suggestions for a better way? (Python)
Apr
2
comment Am I over-complicating adding and then calculating fields? Suggestions for a better way? (Python)
Incredible! This is exactly what I was looking for. Simplification. The only thing I had to do was to add quotes around anotherField since in my case that isn't a variable, but a pre-existing field. So instead of what you have, I used expression = "!" + f + "! * !" + "anotherField" + "!", and it worked!
Apr
2
comment Am I over-complicating adding and then calculating fields? Suggestions for a better way? (Python)
The field type is double. (I change some of the code, and it seems to be working. I'll post an answer soon if it does.)