114 reputation
9
bio website
location New York, United States
age
visits member for 2 years, 2 months
seen 14 hours ago

Oct
13
comment ArcGIS model builder - make query layer with query parameters from generated values
You might want to try and tackle this in Python... I'm not really totally sure what you are trying to do. Maybe you could describe your data in a little more detail or in something like pseudo code.
Sep
11
awarded  Nice Question
Apr
5
awarded  Popular Question
Jun
6
awarded  Commentator
Jun
6
comment Python coding question, looping through feature classes, AddField, CalculateField, then errors (might be schema lock)
Oh, so all of that stuff should come before the loop? Thanks. I have been using the comments above and doing the AddField and Calc fields not in the same loop and that helps for adding and calcing many fields. Also, running it as a python file outside of ArcGIS seems to help from errors that may or may not be schema lock related.
Jun
6
accepted Python coding question, looping through feature classes, AddField, CalculateField, then errors (might be schema lock)
Jun
5
comment How can I export or query all hospitals from Open Street Map?
Thanks both of these answers were very helpful.
Jun
5
accepted How can I export or query all hospitals from Open Street Map?
Jun
5
asked How can I export or query all hospitals from Open Street Map?
Apr
24
awarded  Supporter
Apr
24
comment Switching between background 64 bit processing and 32 (so I can use 3rd party ie XTools)
KHibma, thanks. Figure I'll stay in 32 for all scripts rather than split. Most of my big merges(joins) are in Stata64 .do files now.
Apr
24
accepted Switching between background 64 bit processing and 32 (so I can use 3rd party ie XTools)
Apr
24
awarded  Editor
Apr
24
revised Switching between background 64 bit processing and 32 (so I can use 3rd party ie XTools)
added 71 characters in body
Apr
24
asked Switching between background 64 bit processing and 32 (so I can use 3rd party ie XTools)
Mar
28
awarded  Scholar
Mar
28
accepted How to buffer in pyQGIS?
Mar
28
comment Python coding question, looping through feature classes, AddField, CalculateField, then errors (might be schema lock)
@blord-castillo I think your suggestion helps. I tried a version of this in another script (with fewer variables added/calced) and it seemed to not lock up. I will try and modify this code so there's one loop of adding fields and one of calc'ing them. Thanks! I'm pretty new let me know if I didn't vote your comment correctly. I'll also check out in_memory as some people have mentioned that for other issues.
Mar
22
comment ARCMAP ERROR 000464: Cannot get exclusive schema lock
...an output you can set to a different folder...
Mar
22
comment Python coding question, looping through feature classes, AddField, CalculateField, then errors (might be schema lock)
Perhaps something else to ask would be, should I turn this whole thing into a function and then loop through my data to the function, AddCalcCensus(calcfiles,prefld)