Reputation
2,098
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 19 52
Impact
~143k people reached

Apr
11
revised Python and Data driven pages - Advanced use
added 331 characters in body
Apr
11
revised Python and Data driven pages - Advanced use
Added sample map to provide more context
Apr
11
comment Python and Data driven pages - Advanced use
yes&no...each tower's range includes a grouped signal strength reading polygon. It is not a simple oval range. See the sample map that I will attach to the question along with some more details.
Apr
11
comment Python and Data driven pages - Advanced use
They are to complex and overlap each other. This map set is just to show the range of each individual tower. There is another mapset that has the intersect of the signals of each tower but that's a different issue.
Apr
11
revised Python and Data driven pages - Advanced use
added 174 characters in body
Apr
11
asked Python and Data driven pages - Advanced use
Mar
25
accepted Issue with branching model
Mar
25
comment Issue with branching model
Thanks. One issue was the '0' and the other one was that all actions after the branch needed to have pre-conditions set as well, not just the first action after the branch.
Mar
25
comment Issue with branching model
GetParamaterAsText doesn't mean "text" as against "float" etc. It's just the way input is called in. The type of acceptable values is set in the properties of the tool from ArcGIS. The script works when not in a iterate model, the main issue is that when the iteration is added to the model it runs both branches and so is pointless and in fact wastes more time. The whole point of branching is to save time in only running the downgrade model if more than one signal strength group is found.
Mar
25
revised Issue with branching model
added 140 characters in body
Mar
25
asked Issue with branching model
Mar
19
comment ArcPy gives error Object: CreateObject cannot open map document?
found the answer :-) -it has to run in the foreground and can not be in the background. The other 2 issues are still there though.
Mar
19
comment ArcPy gives error Object: CreateObject cannot open map document?
It does work fine when in the python shell (argis/idle using hard coded fields) but doesn't when it is run from a tool. As I need to use it often, I need it to work as a tool. It is weird as other tools (like text replacement) work fine with the same mxd="CURRENT" line. Possibly time to ask in esri forums
Mar
19
revised ArcPy gives error Object: CreateObject cannot open map document?
added 385 characters in body
Mar
19
comment ArcPy gives error Object: CreateObject cannot open map document?
nope...still get the same issue. See updated code in question. Having mxd twice was a mistake.
Mar
19
asked ArcPy gives error Object: CreateObject cannot open map document?
Mar
14
comment ArcGIS Iterate Files tool in Model Builder
I have a related issue -the model failed on one input (number 15 out of 31) after about 36h. Now can I re-run it (after splitting the input text file that gave issues) without having to get it to re-run files 1-14? When you set do not overwrite results in the geoprocessing options and run it continues from where it left off but I want it to either skip file 15 and continue to 16 or re-read the list and add in 15_1, 15_2 etc (which I will create by splitting 15.txt). So basically "on fail resume model from next input file" logic.
Mar
13
accepted ArcGIS Iterate Files tool in Model Builder
Mar
13
comment ArcGIS Iterate Files tool in Model Builder
I don't normally use it either but since people in the forum request the code, I just thought I would include it.
Mar
13
comment ArcGIS Iterate Files tool in Model Builder
Thanks. Seems to work perfectly. I thought the model export to python will include the iterator but I guess it leaves out the model only tools. Best.