TransWikia.com

Exporting symbology to attribute table using ArcMap

Geographic Information Systems Asked by uttat on January 21, 2021

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 ?

2 Answers

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.

Answered by Mox on January 21, 2021

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! )

Answered by FelixIP on January 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP