I created symbology classes of many polylines in ArcMap 10.2. I want to know the class that each polyline belongs to (maybe written in a new field on the attribute table? or by exporting the symbology to a document ?). Is it possible to export the symbology classes to the attribute table to identify which class each polyline I created belongs to ?
Add a new column to the datatable, click on all the lines in a class, and then do a field calculate to assign the classname as a value to all of those lines. Repeat for each line class.
Very similar question was asked before, can't find it. Use below to populate new field in your table:
breaks=[0,0.1,0.3,0.6,1] def Get_Class(x): for i,v in enumerate(breaks): if v >= x:break return i+1 #--------- Get_Class( !NumericField! )