1

My two input feature classes are populated with data that intersect, the output feature class does not exist, and I have try: except: blocks with traceback, but python crashes here and doesn't get to any of that.

    outfc = r'C:\Temp\temp.shp'
    out_buff_fc = r'C:\Temp\out_buf.shp'
    out_line_fc = r'C:\Temp\out_line.shp'

    arcpy.SpatialJoin_analysis(target_features = out_buff_fc,
                               join_features  = out_line_fc,
                               out_feature_class = outfc)

What does it take to get this to run?

9
  • The error message might help. Do you have import arcpy?
    – klewis
    Aug 25, 2016 at 20:48
  • add the error message
    – ziggy
    Aug 25, 2016 at 20:56
  • Windows tells me "Python has stopped working." I can't get anything out of the Windows error logs.
    – mfrancis
    Aug 25, 2016 at 21:27
  • 1
    how big are your datasets?
    – Midavalo
    Aug 26, 2016 at 6:27
  • 2
    Do the 2 inputs have the same coordinate system?
    – GISGe
    Aug 26, 2016 at 6:40

1 Answer 1

1

What the problem was is that I am using an ArcFM extension. Even when I am not using ANY of that functionality, some tools require me to check out an ArcFM license.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.