| bio | website | |
|---|---|---|
| location | New York, United States | |
| age | ||
| visits | member for | 10 months |
| seen | Jun 11 at 18:35 | |
| stats | profile views | 3 |
|
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) |
|
Mar 22 |
comment |
ARCMAP ERROR 000464: Cannot get exclusive schema lock Maybe try Generate Near Table (Analysis) which gives you an output folder (set it to some other place locally, and then try elsewhere on the network), if that works, then its def. a problem with schema locks w/in the GDB you are working in. help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//… |
|
Mar 22 |
comment |
What Python package to use to calculate midpoint? arcpy from ArcGIS software installation, but I'm assuming your are looking for something open-source. There's probably a module from QGIS if that helps. |
|
Mar 22 |
awarded | Informed |