476 reputation
412
bio website
location
age
visits member for 2 years, 5 months
seen Jun 27 at 15:32

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.
Sep
25
answered Calculating a field based on two other fields, if they exist
Sep
25
comment Calculating a field based on two other fields, if they exist
Also check this similar question: gis.stackexchange.com/questions/26892/…
Sep
24
comment Calculating a field based on two other fields, if they exist
Have you tried using/are you familiar with conditional statements? There is an example here (resources.arcgis.com/en/help/main/10.1/index.html#//…) of conditional formating in the code block.
Sep
20
comment Calculate Field python code has “Expected end of statement” error
Fantastic, I'm not sure I've ever heard of the repr() function, but this will come in handy a lot!