Guest User

Untitled

a guest
Jul 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. arcpy.MakeFeatureLayer_management(inFeatures, tmpLayer)
  2. arcpy.MakeTableView_management(joinTable, tmpView, "Classification = '{}'".format(seasonClassification))
  3. outMsg("{} features in layer".format(int(arcpy.GetCount_management(tmpLayer).getOutput(0))))
  4. arcpy.AddJoin_management(tmpLayer, inField, tmpView, joinField, join_type="KEEP_ALL")
  5. outMsg("{} features in layer after join".format(int(arcpy.GetCount_management(tmpLayer).getOutput(0))))
  6.  
  7. 696 features in layer
  8. 26 features in layer after join
Add Comment
Please, Sign In to add comment