Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. arcpy.management.AddJoin(output_feature, "AccountPoi", lstfc1[x1-1], "AccountID", "KEEP_COMMON")
  2.  
  3. Traceback (most recent call last):
  4. File "C:/Users/dxc163530/PycharmProjects/start_charm.py", line 48, in <module>
  5. arcpy.management.AddJoin(output_feature, "AccountPoi", lstfc1[x1-1], "AccountID", "KEEP_COMMON")
  6. File "C:Program FilesArcGISProResourcesArcPyarcpymanagement.py", line 5096, in AddJoin
  7. raise e
  8. File "C:Program FilesArcGISProResourcesArcPyarcpymanagement.py", line 5093, in AddJoin
  9. retval = convertArcObjectToPythonObject(gp.AddJoin_management(*gp_fixargs((in_layer_or_view, in_field, join_table, join_field, join_type), True)))
  10. File "C:Program FilesArcGISProResourcesArcPyarcpygeoprocessing_base.py", line 506, in <lambda>
  11. return lambda *args: val(*gp_fixargs(args, True))
  12. arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
  13. The value cannot be a feature class
  14. ERROR 000840: The value is not a Raster Layer.
  15. ERROR 000840: The value is not a Mosaic Layer.
  16. WARNING 000970: The join field AccountPoi in the join table AccountPoints is not indexed. To improve performance, we recommend that an index be created for the join field in the join table.
  17. Failed to execute (AddJoin).
  18.  
  19.  
  20. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement