ArcGIS does not have a built-in feature for exporting symbology unique value classes and their correspondent text labels onto a tabular format. This tool allows you to convert a layer file with .lyrx extension to CSV.
- In the contents pane, right-click on the feature layer, choose Sharing and then Save as Layer File
- Save a new layer file
- Call the symbToCSV function in the attached jupyter notebook, pass the following arguments:
- inputLyrx (str): Input ArcGIS synbology file name, lyrx file extension included.
- outputCSV (str): Output CSV file name, csv file extension included.