Reputation
496
Top tag
Next privilege 500 Rep.
Access review queues
Badges
4 12
Impact
~33k people reached

  • 0 posts edited
  • 0 helpful flags
  • 18 votes cast
Jul
14
comment Select By Location then Append if points selected ModelBuilder
Thank you! I knew there was a tool I was forgetting and that was it. I didn't have the Spatial Analysis extension for a long time and it slipped my mind what was in it.
Jul
14
accepted Select By Location then Append if points selected ModelBuilder
Jul
14
comment Select By Location then Append if points selected ModelBuilder
I too much prefer to work in python, especially with iteration (Model Builder iterators are frustrating in my opinion), however this is not my project, I was tasked with building and annotating a model for a PhD student to learn from. I tried to explain learning from an annotated python script would be easier but this is the way I have to do it. Thanks for the tip!
Jul
13
asked Select By Location then Append if points selected ModelBuilder
Nov
9
awarded  Popular Question
Oct
24
awarded  Necromancer
Jul
2
awarded  Curious
Jun
7
awarded  Yearling
May
6
accepted Only perform Near analysis on selected rows
May
6
answered Only perform Near analysis on selected rows
May
6
comment Only perform Near analysis on selected rows
Ultimately I stuck with using the Generate Near Table tool, save the table in memory. I will post my script as an answer.
Apr
14
awarded  Taxonomist
Apr
4
comment Measure average distance between two lines with common endpoints
Basically it is just to put the difference created by the two methods (straight line vs least cost path) into context. It is not intended to show any sort of significance but to allow readers to mentally quantify the variation. If that makes sense? It is just to take the difference out of visuals and put some sort of number to it.
Apr
4
asked Measure average distance between two lines with common endpoints
Feb
12
comment What might cause “python.exe has stopped working” when closing ArcPy script?
I don't think you should have to delete your cursor if you use a with statement, but try maybe adding a 'del row, cursor' line to your script?
Dec
5
awarded  Popular Question
Sep
30
comment How to batch split feature classes using Arcpy?
That is weird, because it shouldn't. With the code you show above, you are telling the tool to split your Province feature class using the fc layer's 'province' field.
Sep
30
comment How to batch split feature classes using Arcpy?
If you are attempting to split your fc features, they should be the first parameter in the Split tool. help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//…
Sep
27
comment Calculating a field based on two other fields, if they exist
What are you naming your fieldC? And how do you have it input into the model variable? I did not get that error when running my sample model, however a quick google search of the error code says this is a refresh error, that creating the field and then trying to calculate it within a single script in model builder does not give ArcMap enough time to 'refresh' the layer and recognize the new field. Try removing the Add Field code from the script and adding the tool to the model before the script.
Sep
25
comment Calculating a field based on two other fields, if they exist
I've never really gotten a good grasp of formatting, embarrassingly enough, but this is a good tip. Especially if S.S. has 800 shapefiles.